Re: IS it a good practice to use SERIAL as Primary Key? - Mailing list pgsql-general

From John McCawley
Subject Re: IS it a good practice to use SERIAL as Primary Key?
Date
Msg-id 456B52C1.20702@hardgeus.com
Whole thread Raw
In response to Re: IS it a good practice to use SERIAL as Primary Key?  (Ron Johnson <ron.l.johnson@cox.net>)
Responses Re: IS it a good practice to use SERIAL as Primary Key?  (Scott Ribe <scott_ribe@killerbytes.com>)
List pgsql-general
Right, but when you write your script (or whatever) that cleans these
keys up and does the merge, you're where you started -- arbitrary
integer keys with no meaning.  If you merge databases where the keys are
*supposed* to have meaning, you then have to mangle *real* data to make
them merge.


Ron Johnson wrote:

>OK, let's use a synthetic key on the sales master table.  In fact,
>*both* companies have a synthetic key on their sales master tables.
>
>OMG, conflicting/overlapping synthetic keys!!!!!
>
>
>
>

pgsql-general by date:

Previous
From: Scott Ribe
Date:
Subject: Re: IS it a good practice to use SERIAL as Primary Key?
Next
From: "Merlin Moncure"
Date:
Subject: backend crash following load command