Re: Domain Constraint Violation Error Messages - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Domain Constraint Violation Error Messages
Date
Msg-id 5768.1532537676@sss.pgh.pa.us
Whole thread Raw
In response to Re: Domain Constraint Violation Error Messages  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
Andres Freund <andres@anarazel.de> writes:
> On 2018-07-25 17:51:21 +0200, Benjamin Coutu wrote:
>> Well, the problem is that the underlying column is not referenced, and neither is the table. That's the issue right
there.

> True.  I didn't yet have my first coffee, sorry for that :).  I think
> it'd possibly not be too hard to add support for naming the TABLE. Would
> that already be helpful enough for you?

I think we'd be better off casting this as a more generic "report the
location of execution-time errors" issue.  See previous discussions
such as

https://www.postgresql.org/message-id/flat/CAD3a31WR8X1TpjR_MoZxuz4S0BO3ZkPAeLoQ9rPxKHG%3D728eoQ%40mail.gmail.com

            regards, tom lane


pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: Domain Constraint Violation Error Messages
Next
From: Benjamin Coutu
Date:
Subject: Re: Domain Constraint Violation Error Messages