From: Robert Haas Date: Fri, 9 May 2014 14:33:40 +0000 (-0400) Subject: Remove overeager assertion in logical_heap_begin_rewrite. X-Git-Tag: REL9_4_BETA1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2dada8f5f90ab015ca8a62b46261ef01a7c781f;p=postgresql Remove overeager assertion in logical_heap_begin_rewrite. It's legal to configure wal_level=logical and max_replication_slots=0 simultaneously. Andres Freund --- diff --git a/src/backend/access/heap/rewriteheap.c b/src/backend/access/heap/rewriteheap.c index 7b57911477..687e76e6db 100644 --- a/src/backend/access/heap/rewriteheap.c +++ b/src/backend/access/heap/rewriteheap.c @@ -812,8 +812,6 @@ logical_begin_heap_rewrite(RewriteState state) if (!state->rs_logical_rewrite) return; - Assert(ReplicationSlotCtl != NULL); - ProcArrayGetReplicationSlotXmin(NULL, &logical_xmin); /*