Re: [GENERAL] Error in column constraint syntax

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: [GENERAL] Error in column constraint syntax
Дата
Msg-id alpine.LNX.2.11.1612270918270.8904@localhost
обсуждение исходный текст
Ответ на Re: [GENERAL] Error in column constraint syntax  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On Tue, 27 Dec 2016, David G. Johnston wrote:

> ​5.3.1 is instructional.  The SQL Command chapter is the
> authoritative source for syntax.

David,

   I'll read that, too.

> CHECK ( expression ) [ NO INHERIT ] |   -- you are missing the mandatory (
> ) surrounding your expression
> All of the examples in 5.3.1 have a "(" following the word CHECK as well...

   Yes, I see now that I misplaced the opening parenthesis and missed the
second closing parenthesis at the end of the IN list.

   I thought I had tested this syntax; obviously I did not.

Thanks,

Rich



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [GENERAL] Error in column constraint syntax
Следующее
От: Арсен Арутюнян
Дата:
Сообщение: [GENERAL] Indexes and loops