From: Chris Hoover <revoohc@gmail.com>
To: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: How to import CSV file?
Date: Tue, 28 Aug 2007 11:38:32 -0400
Message-ID: <1d219a6f0708280838q1312632fg7cbd971cec7cf5ee@mail.gmail.com> (raw)
I need some help importing a csv file. I have been given a csv file full of
data that is delimited by a comma, and the strings are delimited by a single
quote. How do you write the copy statement to use a single quote
delimiter? I have tried several things, but so far, no joy.
Thanks for any help,
Chris
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-admin@postgresql.org
Cc: revoohc@gmail.com
Subject: Re: How to import CSV file?
In-Reply-To: <1d219a6f0708280838q1312632fg7cbd971cec7cf5ee@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