Re: [BUGS] BUG #14474: Issue with temp table creation and OIDs - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14474: Issue with temp table creation and OIDs
Date
Msg-id 24786.1482435539@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] BUG #14474: Issue with temp table creation and OIDs  (jeffdafoe@gmail.com)
List pgsql-bugs
jeffdafoe@gmail.com writes:
> create table test (id bigint) WITH (OIDS=FALSE);
> create temporary table test_tmp (like test) WITH (OIDS=TRUE);
> select oid, id from test_tmp;

> In 9.3 this works, in 9.6 this generates a 'ERROR:  column "oid" does not
> exist' on the select statement.

I think this must be the fault of commit b943f502b --- it's overriding
test_tmp's WITH on the basis of what it found in LIKE tables.  Will fix,
thanks for the report!

            regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] Can't build uuid-ossp extension from source
Next
From: Amit Kapila
Date:
Subject: Re: [BUGS] BUG #14473: Parallel query aborts with too many connections