pgsql: Improve the error message introduced in commit 87ce27de696.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve the error message introduced in commit 87ce27de696.
Date: 2024-12-09 03:44:40
Message-ID: E1tKUhM-001oN8-4e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve the error message introduced in commit 87ce27de696.

The error detail message "Replica identity consists of an unpublished
generated column." implies that the entire replica identity is made up of
an unpublished generated column which may not be the case.

Reported-by: Peter Smith
Author: Shlok Kyal
Reviewed-by: Peter Smith, Amit Kapila
Discussion: https://postgr.es/m/CAHut+PuwMhKx0PhOA4APhJTLoBGNykbeCQpr_CuwGT-SkswG5w@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/executor/execReplication.c | 4 ++--
src/test/regress/expected/publication.out | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-12-09 05:36:09 pgsql: Improve comment about dropped entries in pgstat.c
Previous Message Michael Paquier 2024-12-09 01:46:38 pgsql: Fix invalidation of local pgstats references for entry reinitial