Re: [BUGS] BUG #14474: Issue with temp table creation and OIDs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14474: Issue with temp table creation and OIDs
Дата
Msg-id 24786.1482435539@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [BUGS] BUG #14474: Issue with temp table creation and OIDs  (jeffdafoe@gmail.com)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] Can't build uuid-ossp extension from source
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [BUGS] BUG #14473: Parallel query aborts with too many connections