Re: Missing error condition in CREATE TABLE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Missing error condition in CREATE TABLE
Date
Msg-id 26664.1065448637@sss.pgh.pa.us
Whole thread Raw
In response to Missing error condition in CREATE TABLE  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Shouldn't this be a WARNING or an ERROR?  Trying to create a table 
> WITHOUT OIDS that inherits from a table WITH OIDS silently ignores the 
> WITHOUT OIDS specification.  It think that should be a warning...

I'm not convinced.  You might as well claim it's wrong that the child
inherits other parent columns that you didn't specify in its CREATE
command.  IOW, for user columns a column will appear in the child if
it's defined by the parent or by the child --- seems to me that OID
should work the same.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: more on initdb
Next
From: Tom Lane
Date:
Subject: Re: missing COMMENT ON objects