Re: oids

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: oids
Дата
Msg-id 20080211184545.GC953@crankycanuck.ca
обсуждение исходный текст
Ответ на Re: oids  (Bob Pawley <rjpawley@shaw.ca>)
Список pgsql-general
On Mon, Feb 11, 2008 at 10:38:55AM -0800, Bob Pawley wrote:
> All of my tables are without oids.
>
> I have an application in which I drop, then recreate a table (to reset
> serial numbers) and with an update on the new information I get an error
> about a specific oid missing.
>
> Any thoughts would be appreciated.

Your application has the plan for accessing that table cached, and the way
the access happens "under the hood" is by the oid of the table.  This is the
"table oid" that someone upthread was mentioning.

There's probably a less kludgey way of resetting serial numbers.  Is this a
sequence?  What's wrong with setval()?

A


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

Предыдущее
От: Bob Pawley
Дата:
Сообщение: Re: oids
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: oids