Re: Mass Import/Generate PKs

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Hunter Hillegas <lists(at)lastonepicked(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Mass Import/Generate PKs
Date: 2004-11-06 20:21:25
Message-ID: 200411062121.25708.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hunter Hillegas wrote:
> I have a CSV file with 400,000 lines of email mailing list
> information that I need to migrate to a new PostgreSQL database.
>
> Each line has all the info I need except a PK (I usually use an int4
> column for a PK).

You could import the file into PostgreSQL and add a primary key column
later.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hunter Hillegas 2004-11-06 20:29:48 Re: Mass Import/Generate PKs
Previous Message Troels Arvin 2004-11-06 20:11:56 Re: Trying to get postgres to use an index