Re: Date input changed in 7.4 ?

From: Alvaro Herrera Munoz <alvherre(at)dcc(dot)uchile(dot)cl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mendola Gaetano <mendola(at)bigfoot(dot)com>, pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: Date input changed in 7.4 ?
Date: 2003-08-26 18:05:18
Message-ID: 20030826180518.GC29962@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 26, 2003 at 12:31:57PM -0400, Tom Lane wrote:

> I'm currently thinking about reporting "invalid syntax" if
> ParseDateTime() fails and "invalid field value" if the various Decode()
> routines fail, but I'm quite unsure that that will be helpful ...

Maybe the HINT field could say something about the DateStyle setting...
(something rather verbose, possible including the current DateStyle
value!)

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"I call it GNU/Linux. Except the GNU/ is silent." (Ben Reiter)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-08-26 20:41:55 Re: NOTICE vs WARNING
Previous Message Rod Taylor 2003-08-26 17:53:49 WHERE order