Re: OID as Primary Key - Mailing list pgsql-general

From Tom Lane
Subject Re: OID as Primary Key
Date
Msg-id 25839.985273669@sss.pgh.pa.us
Whole thread Raw
In response to OID as Primary Key  (Jonas Bengtsson <jonas.b@home.se>)
List pgsql-general
Jonas Bengtsson <jonas.b@home.se> writes:
> I have problems with using OID as PK.

This strikes me as a fairly bad idea in any case.  What happens if you
must dump and reload your database?  Better to use a SERIAL column as
primary key.

            regards, tom lane

pgsql-general by date:

Previous
From: Anand Raman
Date:
Subject: Re: transaction aborted with error
Next
From: Tom Lane
Date:
Subject: Re: PG UPDATE question