pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rodrigo De León <rdeleonp@gmail.com>
To: pgsql-sql@postgresql.org
Cc: mailreg@numerixtechnology.de
Subject: Re: import CSV file
Date: Tue, 13 Mar 2007 20:48:50 -0500
Message-ID: <a55915760703131848y47efff4fh928b1ee17e20b2cd@mail.gmail.com> (raw)
In-Reply-To: <45F73742.2080505@numerixtechnology.de>
References: <45F70BC9.801@numerixtechnology.de>
	<20070313182740.ef40e742.darcy@druid.net>
	<45F73742.2080505@numerixtechnology.de>

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



view thread (11+ messages)  latest in thread

Message-ID: <a55915760703131848y47efff4fh928b1ee17e20b2cd@mail.gmail.com>
Permalink:  ../a55915760703131848y47efff4fh928b1ee17e20b2cd@mail.gmail.com/
Also on:    postgresql.org/message-id/a55915760703131848y47efff4fh928b1ee17e20b2cd@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rdeleonp@gmail.com, mailreg@numerixtechnology.de
  Subject: Re: import CSV file
  In-Reply-To: <a55915760703131848y47efff4fh928b1ee17e20b2cd@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox