From: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
---|---|
To: | Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Missing error condition in CREATE TABLE |
Date: | 2003-10-06 07:13:32 |
Message-ID: | 3F81161C.6080603@familyhealth.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-10-06 07:13:33 | Re: [COMMITTERS] pgsql-server/src/backend/catalog aclchk.c |
Previous Message | Christopher Kings-Lynne | 2003-10-06 06:41:20 | Re: extra_float_digits question |