Re: CHECK NO INHERIT syntax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CHECK NO INHERIT syntax
Дата
Msg-id 19361.1342742741@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CHECK NO INHERIT syntax  (David Fetter <david@fetter.org>)
Список pgsql-hackers
David Fetter <david@fetter.org> writes:
> On Thu, Jul 19, 2012 at 12:49:37AM +0300, Peter Eisentraut wrote:
>> But we already have a different syntax for attaching attributes to
>> constraints (NOT DEFERRABLE, NOT VALID,  etc.), so it would make more
>> sense to have
>> 
>> CHECK (foo > 0) NO INHERIT

> How about this?

>     CHECK (foo > 0) (INHERIT FALSE)

The SQL spec already says what the syntax is for options attached to
constraints, and that's not it.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: pgbench -i order of vacuum
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: 2GB limit for temp_file_limit on 32bit platform