Fixes in ALTER SUBSCRIPTION DROP PUBLICATION code
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 25 Jun 2021 07:51:24 +0000 (09:51 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 25 Jun 2021 07:57:02 +0000 (09:57 +0200)
commite59d428f34297cd0eb67e3b4e4b8c8bc58504921
treec7d4d8eec03dbe7fddce6b3942a2bb63cf5eacd6
parent63e6d05bf34da58eef7cd1ed461b9c8315177a38
Fixes in ALTER SUBSCRIPTION DROP PUBLICATION code

ALTER SUBSCRIPTION DROP PUBLICATION does not actually support
copy_data option, so remove it from tab completion.

Also, reword the error message that is thrown when all the
publications from a subscription are specified to be dropped.

Also, made few doc and cosmetic adjustments.

Author: Vignesh C <vignesh21@gmail.com>
Reviewed-by: Bharath Rupireddy <bharath.rupireddy@enterprisedb.com>
Reviewed-by: Japin Li <japinli@hotmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CALDaNm21RwsDzs4xj14ApteAF7auyyomHNnp+NEL-sH8m-jMvQ@mail.gmail.com
doc/src/sgml/ref/alter_subscription.sgml
src/backend/commands/subscriptioncmds.c
src/bin/psql/tab-complete.c
src/test/regress/expected/subscription.out