Search Postgresql Archives

Re: oids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux