Re: Missing error condition in CREATE TABLE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Missing error condition in CREATE TABLE
Дата
Msg-id 26664.1065448637@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Missing error condition in CREATE TABLE  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: more on initdb
Следующее
От: Tom Lane
Дата:
Сообщение: Re: missing COMMENT ON objects