Re: oid's in views.

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: oid's in views.
Дата
Msg-id web-151411@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на Re: oid's in views.  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
Ответы Re: oid's in views.  ("Aasmund Midttun Godal" <aasmund@godal.com>)
Список pgsql-sql
Aasmund,

> I don't use them in indexes foreign keys etc., however they are very
> usefull when your application tries to edit/update individual rows,
> as the oid is like a universal primary key.

You'd still be better off defining your own SERIAL columns and/or
primary keys and using those.  Some Trigger types require referencing
the OID, but that's about it.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


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

Предыдущее
От: Joel Burton
Дата:
Сообщение: Re: system maintained keys
Следующее
От: "David Allardyce"
Дата:
Сообщение: Re: Table Constraints with NULL values