Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property?

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property?
Дата
Msg-id
20150420214116.GT11720@momjian.us
Ответ на
Список
Дерево обсуждения
Shouldn't CREATE TABLE LIKE copy the relhasoids property? Tom Lane <tgl@sss.pgh.pa.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Robert Haas <robertmhaas@gmail.com>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Robert Haas <robertmhaas@gmail.com>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Robert Haas <robertmhaas@gmail.com>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Tom Lane <tgl@sss.pgh.pa.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Tom Lane <tgl@sss.pgh.pa.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? "David G. Johnston" <david.g.johnston@gmail.com>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Tom Lane <tgl@sss.pgh.pa.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Bruce Momjian <bruce@momjian.us>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Robert Haas <robertmhaas@gmail.com>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Andrew Dunstan <andrew@dunslane.net>
Re: Shouldn't CREATE TABLE LIKE copy the relhasoids property? Tom Lane <tgl@sss.pgh.pa.us>
On Mon, Apr 20, 2015 at 05:04:14PM -0400, Robert Haas wrote:
> On Mon, Apr 20, 2015 at 4:11 PM, Bruce Momjian  wrote:
> > Slightly improved patch applied.
> 
> Is it?

The patch has a slightly modified 'if' statement to check a constant
before calling a function, and use elseif:
< +     if (!interpretOidsOption(stmt->options, true) && cxt.hasoids)---> +     if (cxt.hasoids && !interpretOidsOption(stmt->options, true))47c57< +     if (interpretOidsOption(stmt->options, true) && !cxt.hasoids)---> +     else if (!cxt.hasoids && interpretOidsOption(stmt->options, true))

I realize the change is subtle.

--  Bruce Momjian          http://momjian.us EnterpriseDB                             http://enterprisedb.com
 + Everyone has their own god. +


В списке pgsql-hackers по дате отправления
От: Peter Geoghegan
Дата:
От: Bruce Momjian
Дата:
FAQ