Re: to_date - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: to_date
Date
Msg-id 1139865997.22740.164.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: to_date  ("Jim Fu" <Jim.Fu@LogixCom.com>)
List pgsql-admin
On Mon, 2006-02-13 at 15:22, Jim Fu wrote:
> Thank you Michael for the info!
>
> I have the original date info as mmddyy, when I use copy tabname from filename, it fails due to mismatch between raw
dateinfo and date data type in the database. It seems like I had to convert the raw date info to be like 'yyyy-mm-dd'
tomatch PostgreSQL date default format in order to use copy command. 


Take a look here:

http://www.postgresql.org/docs/8.1/static/runtime-config-client.html#GUC-DATESTYLE
and here:
http://www.postgresql.org/docs/8.1/static/datatype-datetime.html

pgsql-admin by date:

Previous
From: "Jim Fu"
Date:
Subject: Re: to_date
Next
From: postgres@pivert.org
Date:
Subject: Re: Switch log (WAL)