Re: patch: make_timestamp function

Поиск
Список
Период
Сортировка
Искать
От
Tomas Vondra
Тема
Re: patch: make_timestamp function
Дата
Msg-id
52D19DBA.8070400@fuzzy.cz
Ответ на
Список
Дерево обсуждения
patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: patch: make_timestamp function Martijn van Oosterhout <kleptog@svana.org>
Re: patch: make_timestamp function Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: patch: make_timestamp function Tom Lane <tgl@sss.pgh.pa.us>
Re: patch: make_timestamp function Andrew Dunstan <andrew@dunslane.net>
Re: patch: make_timestamp function Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: patch: make_timestamp function Jim Nasby <jim@nasby.net>
Re: patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Jim Nasby <jim@nasby.net>
Re: patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch: make_timestamp function Tom Lane <tgl@sss.pgh.pa.us>
Re: patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Bruce Momjian <bruce@momjian.us>
Re: patch: make_timestamp function Michael Weber <mtweber@gmail.com>
Re: patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Tomas Vondra <tv@fuzzy.cz>
Re: patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Pavel Stehule <pavel.stehule@gmail.com>
Re: patch: make_timestamp function Fabrízio de Royes Mello <fabriziomello@gmail.com>
Hi,

I've done a quick review of this patch:

1) patch applies fine to the current HEAD, with a few hunks offset  by a few lines

2) the compilation fails because of duplicate OIDs in pg_proc, so  I had to change 3969-3975 to 4033-4039, then it compiles fine

3) make installcheck works fine

4) No regression tests for make_time / make_date.

5) The documentation is incomplete - make_date / make_time are missing.

6) The documentation should mention that when the 'timezone' parameter  is not set explicitly, the current timezone is used.

7) Why do the functions accept only the timezone abbreviation, not the  full name? I find it rather confusing, because the 'timezone' option  uses the full name, and we're using this as the default. But doing  'show timestamp' and using the returned value fails. Is it possible  to fix this somehow?



regards
Tomas


В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
Сообщение: Re: nested hstore patch
От: Erik Rijkers
Дата:
Сообщение: Re: nested hstore patch
FAQ