Re: Add column name to error description

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: jian he <jian.universality@gmail.com>
Cc: Erik Wienhold <ewie@ewie.name>, Marcos Pegoraro <marcos@f10.com.br>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-07T18:27:30Z
Lists: pgsql-hackers
jian he <jian.universality@gmail.com> writes:
> On Fri, Mar 7, 2025 at 11:05 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Do others agree Erik's version improves readability?

> i think so.

Pushed v4, then.

			regards, tom lane



Commits

  1. Include column name in build_attrmap_by_position's error reports.

  2. Instead of supposing (wrongly, in the general case) that the rowtype