Réf. : OID's as Primary Keys

Поиск
Список
Период
Сортировка
От t.ngockhoi@bpf.vnu.com
Тема Réf. : OID's as Primary Keys
Дата
Msg-id C1256AFE.004ED3FA.00@bpfn01.bpf.vnu.com
обсуждение исходный текст
Список pgsql-general
No i don't thing so. The OID can be use tu improve some sql statement, but it
can't be use as primary key. Because it can be change.

I thing the best way is create a new type for some ref key. This type have a
integer as primary key and a OID of joint's objects. The triger need tu update
automaticaly the OID of ref key.

Best regards,
Ngoc-Khoi TO.



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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: OID's as Primary Keys
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "Relation does not exist" error