Re: The example for creating a check constraint is missing a comma
В списке pgsql-docs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: The example for creating a check constraint is missing a comma |
| Дата | |
| Msg-id | 27717.1518720459@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | The example for creating a check constraint is missing a comma (PG Doc comments form <noreply@postgresql.org>) |
| Ответы |
Re: The example for creating a check constraint is missing a comma
|
| Список | pgsql-docs |
=?utf-8?q?PG_Doc_comments_form?= <noreply@postgresql.org> writes:
> See the example from the documentation for CREATE TABLE below. There should
> be a comma before the CONSTRAINT keyword.
> CREATE TABLE distributors (
> did integer,
> name varchar(40)
> CONSTRAINT con1 CHECK (did > 100 AND name <> '')
> );
Hmm ... that example is legal syntax as-is, but considering that the
explanation for it says specifically that it's table-constraint syntax
not column-constraint syntax, I think you're right.
regards, tom lane
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера