using OID as primary key

Поиск
Список
Период
Сортировка
От Markus Wagner
Тема using OID as primary key
Дата
Msg-id 3978385E.2182D8B4@imsd.uni-mainz.de
обсуждение исходный текст
Ответы Re: using OID as primary key  (JanWieck@t-online.de (Jan Wieck))
Список pgsql-sql
Hi,

are there any disadvantages of using OID as the primary key for any
table?
What about referencing external tuples using their OIDs?

e. g.:
CREATE TABLE thistable
...
field NUMERIC REFERENCES OtherTable (oid)

Which data type should I use to reference OIDs?

Will I run into problems later if I do my things this way?

Thanks,

Markus



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

Предыдущее
От: JanWieck@t-online.de (Jan Wieck)
Дата:
Сообщение: Re: [BUGS] problem with view and case - please help
Следующее
От: JanWieck@t-online.de (Jan Wieck)
Дата:
Сообщение: Re: using OID as primary key