Re: 7.1 euro-style dates insert error

Thomas Lockhart <lockhart@alumni.caltech.edu>

From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Chris Storah <cstorah@e-mis.com>
Cc: pgsql-bugs@postgresql.org
Date: 2001-04-27T16:04:34Z
Lists: pgsql-bugs
> Automatically thinks that the last value is a US style date.
> Date style is set to EURO, but I assume this has no affect on the date
> parsing at insert time.

Yes it does, for ambiguous cases such as yours.

> If the dates are entered as 'ccyy.mm.dd' it is okay - unfortunately all my
> dates are in the format 'dd.mm.ccyy'.
> Is this a bug or a user error?

I'm willing to bet that the date style is *not* set to "European".
Please demonstrate with a "show datestyle" and "select date
'2.10.1997'"...

                     - Thomas