Re: [INIMSS] How to use OID?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: [INIMSS] How to use OID?
Дата
Msg-id web-826688@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на [INIMSS] How to use OID?  (Dino Cherian K <inimss@yahoo.com>)
Список pgsql-sql
Dino,

> Is there any real use of the data-type OID?
> Can I use it as a primary key?

This sort of question belongs on the NOVICE list, not SQL.

In answer:  Don't use the OID.  Create your own primary key, using theSERIAL data type.

-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 по дате отправления:

Предыдущее
От: Bo Lorentsen
Дата:
Сообщение: Re: Large data sets and FOR LOOP's
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: REFERENCES