Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe57f21

Browse files
author
Amit Kapila
committed
Remove two_phase variable from CreateReplicationSlotCmd struct.
Commit19890a0 added the option to enable two_phase commits viapg_create_logical_replication_slot but didn't extend the support of samein replication protocol. However, by mistake, it added the two_phasevariable in CreateReplicationSlotCmd which is required only when we extendthe replication protocol.Reported-by: Jeff DavisAuthor: Ajin CherianReviewed-by: Amit KapilaDiscussion:https://postgr.es/m/64b9f783c6e125f18f88fbc0c0234e34e71d8639.camel@j-davis.com
1 parentf3baaf2 commitbe57f21

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ CreateReplicationSlot(CreateReplicationSlotCmd *cmd)
954954
*/
955955
ReplicationSlotCreate(cmd->slotname, true,
956956
cmd->temporary ?RS_TEMPORARY :RS_EPHEMERAL,
957-
cmd->two_phase);
957+
false);
958958
}
959959

960960
if (cmd->kind==REPLICATION_KIND_LOGICAL)

‎src/include/nodes/replnodes.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ typedef struct CreateReplicationSlotCmd
5656
ReplicationKindkind;
5757
char*plugin;
5858
booltemporary;
59-
booltwo_phase;
6059
List*options;
6160
}CreateReplicationSlotCmd;
6261

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp