Re: Fw: OID
| От | John Gunther |
|---|---|
| Тема | Re: Fw: OID |
| Дата | |
| Msg-id | 3D5D61C0.2070908@bucksvsbytes.com обсуждение исходный текст |
| Ответ на | Fw: OID (Jodi Kanter <jkanter@virginia.edu>) |
| Список | pgsql-admin |
If you need a unique, arbitrary ID for each record in your tables -- which is almost always a good thing to have, the OID does the job automatically. It has the additional benefit of being unique in the entire database. The only problem I have is if records are imported from other databases, in which case the OID is changed or at risk of being duplicated. If you assign your own unique ID you can ensure that merged records preserve their ID. I advise using the unique ID only internally and never having a user enter or reference it.
Jodi Kanter wrote:
Jodi Kanter wrote:
Does anyone have a comment on the email below? Is there a general consensus on whether or not to use OIDs with version 7.2?ThanksJodiCan anyone point me to some documentation on the use of OIDs? Why might I need them? How to remove them in version 7.2? ..etc...ThanksJodi Kanter_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu
В списке pgsql-admin по дате отправления: