Re: Mention column name in error messages
Franck Verrot <franck@verrot.fr>
From: Franck Verrot <franck@verrot.fr>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Jeff Janes <jeff.janes@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2015-09-15T10:00:25Z
Lists: pgsql-hackers
Attachments
- 0001-Report-column-for-which-type-coercion-fails.patch (application/octet-stream) patch 0001
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
Commits
-
Improve logging of bad parameter values in BIND messages.
- 1ea396362be1 14.0 landed