Re: Constraint's NO INHERIT option is ignored in CREATE TABLE LIKE statement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Constraint's NO INHERIT option is ignored in CREATE TABLE LIKE statement
Дата
Msg-id 1990.1583866520@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Constraint's NO INHERIT option is ignored in CREATE TABLE LIKE statement  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-hackers
Amit Langote <amitlangote09@gmail.com> writes:
> On Thu, Feb 20, 2020 at 8:20 AM David G. Johnston
> <david.g.johnston@gmail.com> wrote:
>> Not sure I agree with the premise that it is not supposed to be copied; is there some other object type the allows
NOINHERIT that isn't copied when CREATE TABLE LIKE is used and check constraints are the odd ones out? 

> Syntax currently allows only CHECK constraints to be marked NO INHERIT.

Hearing no further comments, pushed, with a bit of cosmetic polishing.

            regards, tom lane



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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: shared-memory based stats collector
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: backend type in log_line_prefix?