Re: Datetime patch

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: greg(at)turnstep(dot)com
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Datetime patch
Date: 2003-07-01 00:08:27
Message-ID: Pine.LNX.4.44.0307010116440.3958-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

greg(at)turnstep(dot)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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-07-01 00:15:12 Re: [HACKERS] Missing array support
Previous Message Joe Conway 2003-06-30 23:32:46 Re: [HACKERS] Missing array support

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-07-01 00:09:04 Re: Postgresql.conf, initdb patch
Previous Message Tom Lane 2003-06-30 23:54:27 Re: polymorphic arguments and return type for PL/pgSQL