Re: user-interface to upload csv files

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Robert Buckley <robertdbuckley(at)yahoo(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: user-interface to upload csv files
Date: 2011-10-06 05:57:10
Message-ID: 4E8D4336.8060309@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/06/2011 01:47 PM, Robert Buckley wrote:
> Hi,
>
> I am having problems getting csv files into postgres. Does anyone know
> if there is an opensource user-interface to tackle this?

If it's a well-behaved CSV file, use the COPY command or psql's \copy.

For more complicated work, use an ETL tool like Talend, look into
pg_bulkload, or write some perl/python script to do it.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Leif Biberg Kristensen 2011-10-06 06:15:14 Re: I/O error on data file, can't run backup
Previous Message Scott Marlowe 2011-10-06 05:53:31 Re: Fwd: Postgresql-8.2 Replication