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 <[email protected]> Reviewed-by: Bharath Rupireddy <[email protected]> Reviewed-by: Japin Li <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/caldanm21rwsdzs4xj14apteaf7auyyomhnnp+nel-sh8m-j...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e59d428f34297cd0eb67e3b4e4b8c8bc58504921 Modified Files -------------- doc/src/sgml/ref/alter_subscription.sgml | 19 ++++++++++--------- src/backend/commands/subscriptioncmds.c | 6 +++--- src/bin/psql/tab-complete.c | 8 ++++++-- src/test/regress/expected/subscription.out | 2 +- 4 files changed, 20 insertions(+), 15 deletions(-)
