]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Display the names of missing columns in error during logical replication.
authorAmit Kapila <akapila@postgresql.org>
Wed, 7 Oct 2020 02:44:19 +0000 (08:14 +0530)
committerAmit Kapila <akapila@postgresql.org>
Wed, 7 Oct 2020 02:44:19 +0000 (08:14 +0530)
commitf07707099c17e7ff66eac7d38cbd1148672f7ee4
treeb2692c5890ffe04878deefcc2652cff27d895588
parent069179767f79c03381056b23ded0a54156674456
Display the names of missing columns in error during logical replication.

In logical replication when a subscriber is missing some columns, it
currently emits an error message that says "some" columns are missing, but
it doesn't specify the missing column names. Change that to display
missing column names which makes an error to be more informative to the
user.

We have decided not to backpatch this commit as this is a minor usability
improvement and no user has reported this.

Reported-by: Bharath Rupireddy
Author: Bharath Rupireddy
Reviewed-by: Kyotaro Horiguchi and Amit Kapila
Discussion: https://postgr.es/m/CALj2ACVkW-EXH_4pmBK8tNeHRz5ksUC4WddGactuCjPiBch-cg@mail.gmail.com
src/backend/replication/logical/relation.c