Re: 4 billion + oids
От | Dann Corbit |
---|---|
Тема | Re: 4 billion + oids |
Дата | |
Msg-id | D90A5A6C612A39408103E6ECDD77B829408AA7@voyager.corporate.connx.com обсуждение исходный текст |
Ответ на | 4 billion + oids ("Andrew Bartley" <abartley@evolvosystems.com>) |
Ответы |
Re: 4 billion + oids
|
Список | pgsql-general |
> -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > Sent: Monday, March 24, 2003 11:17 AM > To: Dann Corbit > Cc: pgsql-general@postgresql.org > Subject: Re: [GENERAL] 4 billion + oids > > > "Dann Corbit" <DCorbit@connx.com> writes: > > I have definitely seen serious problems relating to OID > wrap. We have > > an application that uses the OID's to create joins. We scan tables > > from a list of source tables from some external (usually > > non-postgresql) database. > > For each of these tables we create a 64 bit checksum for > each record > > and store it in a table, along with an OID. > > Why in the world aren't you using a serial int8 column, instead? I am using Postgresql 7.1.3 (our own native port) and I was not aware that feature was available. If I can create tables without OID's and with 8 byte serial columns I will change to that. The documentation I read said that serial values were 4 bytes long. How do I declare and 8 byte serial column?
В списке pgsql-general по дате отправления: