mirror of
https://github.com/postgres/postgres.git
synced 2025-05-24 00:03:23 -04:00
Remove overeager assertion in logical_heap_begin_rewrite.
It's legal to configure wal_level=logical and max_replication_slots=0 simultaneously. Andres Freund
This commit is contained in:
parent
62e57ff040
commit
b2dada8f5f
@ -812,8 +812,6 @@ logical_begin_heap_rewrite(RewriteState state)
|
|||||||
if (!state->rs_logical_rewrite)
|
if (!state->rs_logical_rewrite)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Assert(ReplicationSlotCtl != NULL);
|
|
||||||
|
|
||||||
ProcArrayGetReplicationSlotXmin(NULL, &logical_xmin);
|
ProcArrayGetReplicationSlotXmin(NULL, &logical_xmin);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user