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

Lines changed: 0 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy