pgsql: Adjust an error message to emphasize the inheritance relationshi

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Adjust an error message to emphasize the inheritance relationshi
Date: 2026-11-25 09:34:34
Message-ID: E1xW9Oc-00000000FLe-12t6@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Adjust an error message to emphasize the inheritance relationship

We now say "column X in child table Y" instead of "column X of table Y"
to make it more obvious that the problem is not directly in the table
being modified. It's also more similar to other related error messages.

Author: Tender Wang <tndrwang(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHewXNkxN0nZpQZBAJ=wNH-dOyo-9LkGPT0dbQhrLS=2KHG6UA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2bdbde8b3bd782ec18168e19b70ccaa945ab0177

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
src/test/regress/expected/indexing.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2026-11-25 14:44:19 pgsql: Report the correct table in publication duplicate-table errors
Previous Message Peter Eisentraut 2026-11-25 08:07:09 pgsql: Fix -Wcast-qual warning in guc_funcs.c