Re: Missing error condition in CREATE TABLE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Missing error condition in CREATE TABLE
Date: 2003-10-06 13:57:17
Message-ID: 26664.1065448637@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-10-06 14:00:27 Re: missing COMMENT ON objects
Previous Message Andrew Dunstan 2003-10-06 13:53:21 Re: more on initdb