Re: [BUGS] BUG #14616: error message without schema

Поиск
Список
Период
Сортировка
От Ódor Balázs
Тема Re: [BUGS] BUG #14616: error message without schema
Дата
Msg-id 285122a5-d291-65a5-6513-1f62c981d841@obiserver.hu
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14616: error message without schema  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] BUG #14616: error message without schema  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
db=# create schema test;
CREATE SCHEMA
db=# create domain test.testdomain as varchar(200);
CREATE DOMAIN
db=# create table test.testtable (col test.testdomain);
CREATE TABLE
db=# insert into test.testtable (col) values ('test text');
INSERT 0 1
db=# alter domain test.testdomain add constraint testdomain_check check 
(value ~ 'a.+');
ERROR:  column "col" of table "testtable" contains values that violate 
the new constraint

I think this is the exact error message:
ERROR:  column "col" of table "test"."testtable" contains values that 
violate the new constraint

Best regards,
Balazs


> balazs@obiserver.hu writes:
>> Command "ALTER DOMAIN ... ADD CONSTRAINT ..." return an error message with
>> column and table data, but missing the schema data.
> Could you be more specific about which error message you're concerned about?
>
>             regards, tom lane



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14616: error message without schema
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14616: error message without schema