Re: Mention column name in error messages - Mailing list pgsql-hackers

From Franck Verrot
Subject Re: Mention column name in error messages
Date
Msg-id CANfkH5nTqd+w4bb85QSsGBZcmxs48xh7cutXPRO04=TzDGNWEQ@mail.gmail.com
Whole thread Raw
In response to Re: Mention column name in error messages  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Mention column name in error messages
List pgsql-hackers
On Tue, Sep 15, 2015 at 7:12 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
I think you need errcontext(), not errdetail().  The most important
difference is that you can have multiple CONTEXT lines but only one
DETAIL; I think if you attach a second errdetail(), the first one is
overwritten.


Indeed, the first errdetail() will be overwritten. Here's another try.

Thanks again for looking at my patches!

--
Franck Verrot
Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: snapshot too old, configured by time
Next
From: YUriy Zhuravlev
Date:
Subject: Re: Move PinBuffer and UnpinBuffer to atomics