Re: Query about time zone patterns in to_char
От | Tomas Vondra |
---|---|
Тема | Re: Query about time zone patterns in to_char |
Дата | |
Msg-id | ca52b589-4334-0193-2ba5-1e2b5ff005b2@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: Query about time zone patterns in to_char (Bruce Momjian <bruce@momjian.us>) |
Ответы |
Re: Query about time zone patterns in to_char
Re: Query about time zone patterns in to_char |
Список | pgsql-hackers |
On 5/20/21 8:25 PM, Bruce Momjian wrote: > On Thu, May 20, 2021 at 12:21:12PM +0530, Nitin Jadhav wrote: >> Thanks Suraj for reviewing the patch. >> >>> 1: >>> +RESET timezone; >>> + >>> + >>> CREATE TABLE TIMESTAMPTZ_TST (a int , b timestamptz); >>> >>> Extra line. >>> >>> 2: >>> +SET timezone = '00:00'; >>> +SELECT to_char(now(), 'of') as "Of", to_char(now(), 'tzh:tzm') as "tzh:tzm"; >> >> I have fixed these comments. >> >>> I am not sure whether we should backport this or not but I don't see any >> issues with back-patching. > > Only significant fixes are backpatched, not features. > Yeah, does not seem to be worth it, as there seem to be no actual reports of issues in the field. FWIW there seem to be quite a bit of other to_char differences compared to Oracle (judging by docs and playing with sqlfiddle). But the patch seems fine / simple enough and non-problematic, so perhaps let's just get it committed? regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: