Skip to content

Commit

Permalink
fix: XLogFlush replication slot drop
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi Z <chi@neon.tech>
  • Loading branch information
skyzh committed Mar 20, 2024
1 parent 80cef88 commit ed81ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/replication/slot.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ ReplicationSlotDropPtr(ReplicationSlot *slot)
char prefix[MAXPGPATH];
snprintf(prefix, sizeof(prefix), "neon-file:%s/state", path);
elog(LOG, "Drop replication slot %s", path);
LogLogicalMessage(prefix, NULL, 0, false);
XLogFlush(LogLogicalMessage(prefix, NULL, 0, false));
}

/*
Expand Down

0 comments on commit ed81ab5

Please sign in to comment.