pgsql: Fix variable initialization with ALTER SUBSCRIPTION DROP PUBLICA

Started by Michael Paquierabout 5 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

Fix variable initialization with ALTER SUBSCRIPTION DROP PUBLICATION

copy_data is not a supported option with this sub-command of ALTER
SUBSCRIPTION, which would not make a variable related to it initialized
after parsing the option set in DefElems. A refresh could then refer to
it.

Author: Ranier Vilela
Reviewed-by: Peter Smith
Discussion: /messages/by-id/CAEudQAp5P8nr=ze2Gv=BMj=DJFZnrvendZCZcC-fos3QiDe2sg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/79718c1c6c007c27e9c1b8e92bd96d17067606fa

Modified Files
--------------
src/backend/commands/subscriptioncmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)