From: jeffdafoe@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14474: Issue with temp table creation and OIDs
Date: Thu, 22 Dec 2016 14:53:04 +0000
Message-ID: <20161222145304.25620.47445@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14474
Logged by: Jeff Dafoe
Email address: jeffdafoe@gmail.com
PostgreSQL version: 9.6.1
Operating system: Linux
Description:
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.
Thanks,
Jeff (using PG since 6.5)
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: jeffdafoe@gmail.com
Subject: Re: BUG #14474: Issue with temp table creation and OIDs
In-Reply-To: <20161222145304.25620.47445@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox