date parsing - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject date parsing
Date
Msg-id 12fa01c33bbb$e2bce820$2800a8c0@mars
Whole thread Raw
Responses Re: date parsing
List pgsql-hackers
Is this deliberate?

usa=# select '1-1-2001'::date;   date
------------2001-01-01
(1 row)

usa=# select '1-1--2001'::date;   date
------------2001-01-01
(1 row)

usa=# select '1-1---2001'::date;   date
------------2001-01-01
(1 row)

usa=# select '1------------------1--------------2001'::date;   date
------------2001-01-01
(1 row)


Chris




pgsql-hackers by date:

Previous
From: nolan@celery.tssi.com
Date:
Subject: Re: Updating psql for features of new FE/BE protocol
Next
From: Shridhar Daithankar
Date:
Subject: Re: [GENERAL] Physical Database Configuration