| От | Bruno Wolff III |
|---|---|
| Тема | domain check constraint syntax problem for 7.4 |
| Дата | |
| Msg-id | 20030126050921.GA12231@wolff.to обсуждение исходный текст |
| Ответы |
Re: domain check constraint syntax problem for 7.4
|
| Список | pgsql-hackers |
I am trying to create a domain with more than one check constraint and I am getting an error that I don't think is correct according to the documentation. I am not sure if this is a limitation of a partially implemented feature or a bug that has so far been overlooked. For example: area=# create domain test6 as int constraint ack check(value<4); CREATE DOMAIN area=# create domain test7 as int constraint ack check(value<4), area-# constraint ack1 check(value>0); ERROR: parser: syntax error at or near "," at character 57 area=# create domain test7 as int check(value<4), check(value>0); ERROR: parser: syntax error at or near "," at character 42
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера