Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b2dada8

Browse files
committed
Remove overeager assertion in logical_heap_begin_rewrite.
It's legal to configure wal_level=logical and max_replication_slots=0 simultaneously. Andres Freund
1 parent 62e57ff commit b2dada8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/access/heap/rewriteheap.c

-2
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,6 @@ logical_begin_heap_rewrite(RewriteState state)
812812
if (!state->rs_logical_rewrite)
813813
return;
814814

815-
Assert(ReplicationSlotCtl != NULL);
816-
817815
ProcArrayGetReplicationSlotXmin(NULL, &logical_xmin);
818816

819817
/*

0 commit comments

Comments
 (0)