Improve the error message introduced in commit 87ce27de696.
Amit Kapila <akapila@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execReplication.c | modified | +2 −2 |
| src/test/regress/expected/publication.out | modified | +2 −2 |
Discussion
- Disallow UPDATE/DELETE on table with unpublished generated column as REPLICA IDENTITY 55 messages · 2024-11-05 → 2024-12-09