pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: jeffdafoe@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14474: Issue with temp table creation and OIDs
Date: Thu, 22 Dec 2016 14:38:59 -0500
Message-ID: <24786.1482435539@sss.pgh.pa.us> (raw)
In-Reply-To: <20161222145304.25620.47445@wrigleys.postgresql.org>
References: <20161222145304.25620.47445@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (2+ messages)

Message-ID: <24786.1482435539@sss.pgh.pa.us>
Permalink:  ../24786.1482435539@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24786.1482435539@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, jeffdafoe@gmail.com
  Subject: Re: BUG #14474: Issue with temp table creation and OIDs
  In-Reply-To: <24786.1482435539@sss.pgh.pa.us>

* 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