Re: import CSV file - Mailing list pgsql-sql

From Rodrigo De León
Subject Re: import CSV file
Date
Msg-id a55915760703131848y47efff4fh928b1ee17e20b2cd@mail.gmail.com
Whole thread Raw
In response to Re: import CSV file  (T E Schmitz <mailreg@numerixtechnology.de>)
Responses Re: import CSV file  (T E Schmitz <mailreg@numerixtechnology.de>)
List pgsql-sql
On 3/13/07, T E Schmitz <mailreg@numerixtechnology.de> wrote:
> This is pretty ingenious!
> Just a few minor problems:
> - how does COPY know which column is which?
> - how do I specify DELIMITER as TAB?

See:
http://www.postgresql.org/docs/8.2/static/sql-copy.html

> Also, it's nopt happy about the date format : 2007/02/09

See:
http://www.postgresql.org/docs/current/static/runtime-config-client.html#GUC-DATESTYLE


pgsql-sql by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: Maintence DB
Next
From: "hu js"
Date:
Subject: How to declare cursor if tablename is a variable?