Re: Ever increasing OIDs - gonna run out soon?

Поиск
Список
Период
Сортировка
Искать
От
Merlin Moncure
Тема
Re: Ever increasing OIDs - gonna run out soon?
Дата
Msg-id
b42b73150606121332j61c08230ta87a2b754243ab63@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: Ever increasing OIDs - gonna run out soon? "Qingqing Zhou" <zhouqq@cs.toronto.edu>
Re: Ever increasing OIDs - gonna run out soon? "Jim C. Nasby" <jnasby@pervasive.com>
Re: Ever increasing OIDs - gonna run out soon? John Sidney-Woollett <johnsw@wardbrook.com>
Re: Ever increasing OIDs - gonna run out soon? Martijn van Oosterhout <kleptog@svana.org>
Re: Ever increasing OIDs - gonna run out soon? Tom Lane <tgl@sss.pgh.pa.us>
Re: Ever increasing OIDs - gonna run out soon? "Alex Turner" <armtuk@gmail.com>
Re: Ever increasing OIDs - gonna run out soon? "Jim C. Nasby" <jnasby@pervasive.com>
Re: Ever increasing OIDs - gonna run out soon? "Merlin Moncure" <mmoncure@gmail.com>
Re: Ever increasing OIDs - gonna run out soon? John Sidney-Woollett <johnsw@wardbrook.com>
Re: Ever increasing OIDs - gonna run out soon? "Jim C. Nasby" <jnasby@pervasive.com>
Re: Ever increasing OIDs - gonna run out soon? John Sidney-Woollett <johnsw@wardbrook.com>
On 6/12/06, Alex Turner  wrote:
> Just a quick thought - I know that I don't fully understand tables with
> oids, and table without oids, is there a link to some more information about
> why you need oids, or why you don't that I could reference as I'm a bit lost
> on the subject of oids

dont get lost, just forget you ever heard about them :).  oid is a
'free' userland autoincrement counter which has some problems.  It was
a hidden column that in older versions of postgresql  was implicitly
added to your tables.  newer versions of pg assume you dont want OIDs
on your table. (system tables still use them, tho).

for purposes of a global counter or table level ID generator,
sequences are basically better in every way.  use them.  some
middleware such as the odbc driver used to work better/easier if you
had a column but afaik this is not the case anymore.

Merlin
В списке pgsql-general по дате отправления
От: John Sidney-Woollett
Дата:
От: Jim C. Nasby
Дата:
FAQ