Re: Error message inconsistency
От | Amit Kapila |
---|---|
Тема | Re: Error message inconsistency |
Дата | |
Msg-id | CAA4eK1KnBBi4HMmXcYT+_MSNRJfVHG75Ck2pZrVg-XevunxnHQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Error message inconsistency (MBeena Emerson <mbeena.emerson@gmail.com>) |
Ответы |
Re: Error message inconsistency
|
Список | pgsql-hackers |
On Thu, Jan 9, 2020 at 5:42 PM MBeena Emerson <mbeena.emerson@gmail.com> wrote: > Hi Beena, It is better to reply inline. > Hi Mahendra, > > Thanks for the patch. > I am not sure but maybe the relation name should also be added to the following test case? > > create table t4 (id int); > insert into t4 values (1); > ALTER TABLE t4 ADD CONSTRAINT c1 CHECK (id > 10) NOT VALID; -- succeeds > ALTER TABLE t4 VALIDATE CONSTRAINT c1; > ERROR: check constraint "c1" is violated by some row > I see that in this case, we are using errtableconstraint which should set table/schema name, but then that doesn't seem to be used. Can we explore it a bit from that angle? -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: