Remove two_phase variable from CreateReplicationSlotCmd struct.
authorAmit Kapila <akapila@postgresql.org>
Mon, 7 Jun 2021 04:02:06 +0000 (09:32 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 7 Jun 2021 04:02:06 +0000 (09:32 +0530)
commitbe57f21650d36449ec34a67b2d9af71126a663b3
tree134256ec480a913b5be00b40458568932ed10076
parentf3baaf28a6da588987b94a05a725894805c3eae9
Remove two_phase variable from CreateReplicationSlotCmd struct.

Commit 19890a064e added the option to enable two_phase commits via
pg_create_logical_replication_slot but didn't extend the support of same
in replication protocol. However, by mistake, it added the two_phase
variable in CreateReplicationSlotCmd which is required only when we extend
the replication protocol.

Reported-by: Jeff Davis
Author: Ajin Cherian
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/64b9f783c6e125f18f88fbc0c0234e34e71d8639.camel@j-davis.com
src/backend/replication/walsender.c
src/include/nodes/replnodes.h