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

From Christopher Kings-Lynne
Subject Missing error condition in CREATE TABLE
Date
Msg-id 3F81161C.6080603@familyhealth.com.au
Whole thread Raw
Responses Re: Missing error condition in CREATE TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

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...

test=# create table a (a int4);
CREATE TABLE
test=# create table c () inherits (a) without oids;
CREATE TABLE
test=# select relhasoids from pg_class where relname='c'; relhasoids
------------ t
(1 row)


Chris




pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: extra_float_digits question
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql-server/src/backend/catalog aclchk.c