Use of OIDS as primary keys

Поиск
Список
Период
Сортировка
От Alan Wayne
Тема Use of OIDS as primary keys
Дата
Msg-id 20020512055600.19033.qmail@web21210.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Use of OIDS as primary keys  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Use of OIDS as primary keys  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-general
Hi!

I'm wondering how I can use the system generated OIDS
as primary keys. Does postgre automatically fill in
the system generated oid when a field of type oid is
created as the primary key? And if so, how do I read
it back on a record just created so I can use it as a
secondary key in another table? And lastly, is it even
a good idea to use the oid as keys at all when I'm
going to eventually migrate the data from one machine
to another?

Any help would be appreciated,
AJW

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

В списке pgsql-general по дате отправления:

Предыдущее
От: "venkat"
Дата:
Сообщение:
Следующее
От: Jean-Michel POURE
Дата:
Сообщение: Re: Database encoding