Use of OIDS as primary keys

Поиск
Список
Период
Сортировка
От Alan Wayne
Тема Use of OIDS as primary keys
Дата
Msg-id 20020512062305.85145.qmail@web21208.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Use of OIDS as primary keys  (Patrick Welche <prlw1@newn.cam.ac.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 по дате отправления:

Предыдущее
От: Randall Perry
Дата:
Сообщение: Re: Can this be done in one query?
Следующее
От: Peter Dimov
Дата:
Сообщение: Trigger performance