Re: [HACKERS] 3 digit year problem

2002-05-03 Thread Thomas Lockhart
> Is there any rhyme or reason to these ISO format date parsing rules? Yes. Though adjustments to the rules are possible, so things are not set in concrete. There *should* be a complete description of the date/time parsing rules in the User's Guide appendix. > Why can't someone store the year wi

[HACKERS] 3 digit year problem

2002-05-03 Thread Christopher Kings-Lynne
Hi, Is there any rhyme or reason to these ISO format date parsing rules? test=# select '1-1-1'::date; ERROR: Bad date external representation '1-1-1' test=# select '69-1-1'::date; date 2069-01-01 (1 row) test=# select '50-1-1'::date; date 2050-01-01 (1 row)