Re: Re: to_date problems (Re: Favor for Postgres User at WSI)
Andrew McMillan <andrew@catalyst.net.nz>
From: Andrew McMillan <Andrew@catalyst.net.nz>
To: Thomas Lockhart <lockhart@alumni.caltech.edu>
Cc: Karel Zak <zakkr@zf.jcu.cz>, Tom Lane <tgl@sss.pgh.pa.us>, Kate Collins <klcollins@wsicorp.com>, pgsql-bugs@postgresql.org, John Rickman <john.rickman@greatbridge.com>
Date: 2000-11-12T18:54:59Z
Lists: pgsql-bugs
Thomas Lockhart wrote:
>
> Because of the common and documented cutoff date (1970 currently, 1950
> in some other apps) used to solve this problem.
Most database software I have seen uses some form of setting to control
the actual date used here, and that is the most long-term solution.
something like:
set CENTURY_WINDOW TO '1980';
Would be nicest.
Regards,
Andrew.
--
_____________________________________________________________________
Andrew McMillan, e-mail: Andrew@cat-it.co.nz
Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington
Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267