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

Re: warning missing

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: warning missing
Date: 2004-06-22 23:24:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Tom Lane wrote:

> Gaetano Mendola <mendola(at)bigfoot(dot)com> writes:
>>I think a warning is missing if I create a table without OIDS that
>>inherits from a table with oids:
>>don't you think a warning shall to be raised here ?
> Nope ... this is not different from the behavior for merging duplicate
> column definitions.  You get an OID column if the child table definition
> *or* any parent table requests OIDs.

Mmm, you are not convincing me, don't we break the principle of minor surprise?

I mean if you duplicate a column name that column is present on the inherited
table, but if I say: I don't want the column OID and I found it,  this then
surprise me.

Gaetano Mendola

In response to


pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2004-06-23 00:32:48
Subject: Re: nested xacts and phantom Xids
Previous:From: Tom LaneDate: 2004-06-22 23:06:13
Subject: Re: warning missing

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