Search Postgresql Archives

Re: oids

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

 



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.

Bob
----- Original Message ----- From: "Erik Jones" <erik@xxxxxxxxxx>
To: "Bob Pawley" <rjpawley@xxxxxxx>
Cc: "PostgreSQL" <pgsql-general@xxxxxxxxxxxxxx>
Sent: Monday, February 11, 2008 10:29 AM
Subject: Re:  oids


On Feb 11, 2008, at 12:15 PM, Bob Pawley wrote:

I'm running Postgresql 8.2 on Windows.

If I create a table 'without oids' are oids still in use behind the scenes??

Yes and no.  WITHOUT OIDS specifies that you don't want each row to
get its own oid.  You will often here of "a table's oid" and what
that is is the oid of the pg_class entry for that table.  The default
when creating tables is WITHOUT OIDS and you should leave it that way.

Erik Jones

DBA | Emma®
erik@xxxxxxxxxx
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com




---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/

[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