Skip to content

Commit

Permalink
Initialize pgxactoff for walproposer
Browse files Browse the repository at this point in the history
refer #1244
  • Loading branch information
knizhnik committed Feb 11, 2022
1 parent e056fb6 commit 8524105
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/replication/walproposer.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ WalProposerMain(Datum main_arg)
am_wal_proposer = true;
am_walsender = true;
InitWalSender();
InitProcessPhase2();

/* Create replication slot for WAL proposer if not exists */
if (SearchNamedReplicationSlot(WAL_PROPOSER_SLOT_NAME, false) == NULL)
Expand Down

0 comments on commit 8524105

Please sign in to comment.