Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.

Поиск
Список
Период
Сортировка
От Dirk Heinrichs
Тема Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.
Дата
Msg-id 4CD2FE35.50702@altum.de
обсуждение исходный текст
Ответ на Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Am 04.11.2010 04:55, schrieb Tom Lane:

> I don't actually see any point in having two functions at all.  Since
> the trigger is examining the column type internally, it could perfectly
> well do the right thing at runtime depending on column type.

Got the point. Here's another patch, hope my limited C skills are
sufficient... Works here, at least.

BTW: Is there a way to achieve the same in pure PL/pgSQL or PL/perl?

Bye...

    Dirk

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PERFORM] typoed column name, but postgres didn't grump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5740: contrib/spi/moddatetime.c doesn't work with timezones.