Re: Datetime patch - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Datetime patch
Date
Msg-id Pine.LNX.4.44.0307010116440.3958-100000@peter.localdomain
Whole thread Raw
In response to Datetime patch  (greg@turnstep.com)
Responses Re: Datetime patch
List pgsql-patches
greg@turnstep.com writes:

> !     /* A year and a day is currently an error, as YYYY-DD-MM is not allowed */
> !     else if ((fmask & DTK_M(YEAR)) && (fmask & DTK_M(MONTH)))
> !         return -1;

I believe this conditional is incorrect.  The second part should be
DTK_M(DAY).

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: polymorphic arguments and return type for PL/pgSQL
Next
From: Peter Eisentraut
Date:
Subject: Re: Postgresql.conf, initdb patch