Re: Patch for ISO-8601-Interval Input and output.

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: Patch for ISO-8601-Interval Input and output.
Дата
Msg-id 37ed240d0811100937h55fa9b99oa7171b00d0480374@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Patch for ISO-8601-Interval Input and output.  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Ответы Re: Patch for ISO-8601-Interval Input and output.  (R Mayer <pg_cert@cheapcomplexdevices.com>)
Список pgsql-hackers
On Tue, Nov 11, 2008 at 2:36 AM, Ron Mayer
<rm_pg@cheapcomplexdevices.com> wrote:
> I updated my web site[1] with the latest version of this patch.

I'm just testing this latest version out now.

I get the expected result from 'P0001', but oddly enough if I specify
only the year and month, it pukes:

postgres=# select interval 'P0001-01';
ERROR:  invalid input syntax for type interval: "P0001-01"
LINE 1: select interval 'P0001-01';

I'm attaching a patch to clean up a few more code style issues and fix
broken spec references within C code comments in datetime.c.

Cheers,
BJ

Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: per-database locale: createdb switches
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: gram.y=>preproc.y