git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b48832c) | patch
Include column name in build_attrmap_by_position's error reports.
Fri, 7 Mar 2025 18:24:09 +0000 (13:24 -0500)
Fri, 7 Mar 2025 18:24:20 +0000 (13:24 -0500)
commit 34c3c5ce1c0b2a27de212076c2e5aaa8e82fac31
Include column name in build_attrmap_by_position's error reports.

Formerly we only provided the column number, but it's frequently
more useful to mention the column name. The input tupdesc often
doesn't have useful column names, but the output tupdesc usually
contains user-supplied names, so report that one.

Author: Marcos Pegoraro <marcos@f10.com.br>
Co-authored-by: jian he <jian.universality@gmail.com>
Co-authored-by: Tom Lane <tgl@sss.pgh.pa.us>
Co-authored-by: Erik Wienhold <ewie@ewie.name>
Reviewed-by: Vladlen Popolitov <v.popolitov@postgrespro.ru>
Discussion: https://postgr.es/m/CAB-JLwanky28gjAMdnMh1CjyO1b2zLdr6UOA1-oY9G7PVL9KKQ@mail.gmail.com
src/backend/access/common/attmap.c diff | blob | blame | history
src/pl/plpgsql/src/expected/plpgsql_record.out diff | blob | blame | history
src/pl/plpgsql/src/sql/plpgsql_record.sql diff | blob | blame | history
src/test/regress/expected/plpgsql.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /