Skip site navigation (1) Skip section navigation (2)

BUG #14474: Issue with temp table creation and OIDs

From: jeffdafoe(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14474: Issue with temp table creation and OIDs
Date: 2016-12-22 14:53:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14474
Logged by:          Jeff Dafoe
Email address:      jeffdafoe(at)gmail(dot)com
PostgreSQL version: 9.6.1
Operating system:   Linux

We're in the process of upgrading from PG 9.3 to 9.6 .  We've found that the
following works in 9.3 but does not work in 9.6 .  It's not a big issue for
us, this is the simplest representation of the issue, we were able to work
around it in our actual case.  I thought it best to report it in case others
encountered the issue.

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.

Jeff (using PG since 6.5)


pgsql-bugs by date

Next:From: Tom LaneDate: 2016-12-22 15:42:01
Subject: Re: Can't build uuid-ossp extension from source
Previous:From: steven.winfieldDate: 2016-12-22 11:13:45
Subject: BUG #14473: Parallel query aborts with too many connections

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group