Re: loading files into tables

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: "Pau Marc Munoz Torres" <paumarc(at)gmail(dot)com>
Subject: Re: loading files into tables
Date: 2008-02-04 15:56:41
Message-ID: 200802041656.44962.dfontaine@hi-media.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Le lundi 04 février 2008, Pau Marc Munoz Torres a écrit :
> I'm an ex-mysql user, i know there was a sentence in mysql that was
>
> load data local infile "somefile.txt" into table "sometable;
>
> I'm trying to do something similar in postgresql, can someone help me?

COPY manual entry as already been pointed to you, let me introduce pgloader
project in case you would need to edit the data on-the-fly (ETL):
http://pgloader.projects.postgresql.org/
http://pgfoundry.org/projects/pgloader/
http://pgsql.tapoueh.org/site/html/pgloader/index.html

More to come on this last link :)
--
dim

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2008-02-04 16:11:43 Re: postgresql book - practical or something newer?
Previous Message Dave Page 2008-02-04 15:54:09 Re: Universal libpq.a ?