bug in 7.4 SET WITHOUT OIDs - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject bug in 7.4 SET WITHOUT OIDs
Date
Msg-id 405FA7E6.4050605@familyhealth.com.au
Whole thread Raw
Responses Re: bug in 7.4 SET WITHOUT OIDs  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: bug in 7.4 SET WITHOUT OIDs  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
I had a suspicion and it was confirmed:

test=# create table oidtest (a int4, unique(oid));
NOTICE:  CREATE TABLE / UNIQUE will create implicit index 
"oidtest_oid_key" for table "oidtest"
CREATE TABLE
test=# select oid from oidtest; oid
-----
(0 rows)

test=# alter table oidtest set without oids;
ALTER TABLE
test=# select oid from oidtest;
ERROR:  column "oid" does not exist
test=# \d oidtest
ERROR:  cache lookup failed for attribute -2 of relation 765798


Chris



pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: float8 regression test failure in head
Next
From: "Alex J. Avriette"
Date:
Subject: Re: pg_autovacuum next steps