\copy and serial type

From: Masse Jacques <jacques(dot)masse(at)bordeaux(dot)cemagref(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: \copy and serial type
Date: 2002-04-15 09:42:06
Message-ID: 0B87317EA62BD211A02A00A0C9DFB7EC9B5EB2@hermes.bordeaux.cemagref.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I use to enter data in my db with \copy large text files (exports from
MS-Excel).

Is there a mean to auto update the primary key (as serial) or do I have to
calculate it each time with a function ?

Regards

___________________________________________
Jacques Massé
Tel. 33 (0)5 57 89 08 11 - Fax 33 (0)5 57 89 08 01

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew McMillan 2002-04-15 09:55:15 Re: \copy and serial type
Previous Message Pierre-Alexis Paquin 2002-04-15 08:07:07 Postgresql starts but nothing 's happened