Re: OID assistance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OID assistance
Дата
Msg-id 17940.1108738126@sss.pgh.pa.us
обсуждение исходный текст
Ответ на OID assistance  ("Spiegelberg, Greg" <gspiegelberg@cranel.com>)
Ответы Re: OID assistance  (Greg Spiegelberg <gspiegelberg@cranel.com>)
Список pgsql-admin
"Spiegelberg, Greg" <gspiegelberg@cranel.com> writes:
> It's come to our attention that in 14-16 days our OID's will wrap around and
> we need some advice.

Are you actually using the OIDs for anything?  If not, don't worry about
it.

Unless you are actually depending on OIDs to be unique in some of your
user tables, wraparound shouldn't matter.  The only possible bad
consequence is that you might once in a while get a collision in the
system tables (eg, a CREATE TABLE fails because the OID generated for
the table conflicts with an existing table).  The odds of that are small
enough that it's probably not going to be as much of a problem as a
dump/reload would be.  Just retry the transaction and it'll usually
work the next time.

            regards, tom lane

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

Предыдущее
От: "Spiegelberg, Greg"
Дата:
Сообщение: OID assistance
Следующее
От: Greg Spiegelberg
Дата:
Сообщение: Re: OID assistance