Re: Mention column name in error messages
Franck Verrot <franck@verrot.fr>
From: Franck Verrot <franck@verrot.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael.paquier@gmail.com>,
Kuntal Ghosh <kuntalghosh.2007@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2016-11-07T01:26:15Z
Lists: pgsql-hackers
On Sun, Nov 6, 2016 at 1:13 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > > > The original intent of that patch tried to cover the case where we insert > > records > > made of dozens columns sharing the same type definition, and trying to > > understand > > what is going on, at a glance, when we debugged something like this: > > ... > > Relying on the cursor seems to be of little help I'm afraid. > > Well, it would be an improvement over what we've got now. Also, a feature > similar to what I suggested would help in localizing many types of errors > that have nothing to do with coercion to a target column type. > Yes, it's a neat improvement in any case. -- Franck Verrot
Commits
-
Improve logging of bad parameter values in BIND messages.
- 1ea396362be1 14.0 landed