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

Поиск
Список
Период
Сортировка
От R Mayer
Тема Re: Patch for ISO-8601-Interval Input and output.
Дата
Msg-id 491882C0.3090904@cheapcomplexdevices.com
обсуждение исходный текст
Ответ на Re: Patch for ISO-8601-Interval Input and output.  ("Brendan Jurd" <direvus@gmail.com>)
Ответы Re: Patch for ISO-8601-Interval Input and output.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Patch for ISO-8601-Interval Input and output.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Brendan Jurd wrote:
> On Tue, Nov 11, 2008 at 2:36 AM, Ron Mayer
> 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';

Indeed.  Thanks again.

I've fixed this and added regression tests to check the handling of
optional fields of the "alternative format" which my patch has
been so very bad at handling.

> 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.

Applied and pushed to the website http://0ape.com/postgres_interval_patches/





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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: gram.y=>preproc.y
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: SQL5 budget