aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-02-15 12:21:28 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-02-15 12:21:28 -0500
commite16db75dd6ba16d87f5bc05207b8739a3054b8fa (patch)
tree02061120c3985cad92da4ab3fed09513a196ebaa /src/tutorial/funcs.c
parentce349cf176e20b6d12b10e1d3ede339acc77b67d (diff)
downloadpostgresql-e16db75dd6ba16d87f5bc05207b8739a3054b8fa.tar.gz
postgresql-e16db75dd6ba16d87f5bc05207b8739a3054b8fa.zip
Improve subscriber's error message for wrong publication relkind.
Pre-v13 versions only support logical replication from plain tables, while v13 and later also allow partitioned tables to be published. If you tried to subscribe an older server to such a publication, you got "table XXX not found on publisher", which is pretty unhelpful/confusing. Arrange to deliver a more on-point error message. As commit c314c147c did in v13, remove the relkind check from the query WHERE clause altogether, so that "not there" is distinguishable from "wrong relkind". Per report from Radoslav Nedyalkov. Patch v10-v12. Discussion: https://postgr.es/m/2952568.1644876730@sss.pgh.pa.us
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions