Re: Adding Records With SERIAL Primary Key

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Adding Records With SERIAL Primary Key
Date: 2005-05-03 17:20:16
Message-ID: Pine.LNX.4.61.0505031019050.9945@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 3 May 2005, Scott Marlowe wrote:

> When loading in data using the copy command, one can set the columns to be
> copied, and the system will insert the serial value for you if you leave
> that column out of the list.

Scott,

Aha! I thought this would be the case, but I was not sure.

Many thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexandre Biancalana 2005-05-03 17:25:50 Re: postgresql 8 abort with signal 10
Previous Message Scott Marlowe 2005-05-03 17:12:49 Re: Adding Records With SERIAL Primary Key