Re: Mention column name in error messages

Michael Paquier <michael.paquier@gmail.com>

From: Michael Paquier <michael.paquier@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kuntal Ghosh <kuntalghosh.2007@gmail.com>, Franck Verrot <franck@verrot.fr>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2016-11-05T12:57:47Z
Lists: pgsql-hackers
On Sat, Nov 5, 2016 at 4:15 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The callback is "live" the instant you assign to error_context_stack;
> any data it depends on had better be valid before that.  In this case
> you're effectively depending on the assumption that
> RelationGetRelationName can't throw an error.

Argh, that's obvious. Thanks for the notice.
-- 
Michael


Commits

  1. Improve logging of bad parameter values in BIND messages.