pgsql: Fix variable initialization with ALTER SUBSCRIPTION DROP PUBLICA - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix variable initialization with ALTER SUBSCRIPTION DROP PUBLICA
Date
Msg-id E1lxhsJ-0001O3-0H@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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: https://postgr.es/m/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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add test for CREATE INDEX CONCURRENTLY with not-so-immutable pre
Next
From: Thomas Munro
Date:
Subject: pgsql: Change recovery_init_sync_method to PGC_SIGHUP.