Re: IS it a good practice to use SERIAL as Primary Key?

Поиск
Список
Период
Сортировка
От John McCawley
Тема Re: IS it a good practice to use SERIAL as Primary Key?
Дата
Msg-id 456B52C1.20702@hardgeus.com
обсуждение исходный текст
Ответ на Re: IS it a good practice to use SERIAL as Primary Key?  (Ron Johnson <ron.l.johnson@cox.net>)
Ответы Re: IS it a good practice to use SERIAL as Primary Key?
Список 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 по дате отправления:

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: IS it a good practice to use SERIAL as Primary Key?
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: backend crash following load command