mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 13:51:21 +02: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)
|
||||
return;
|
||||
|
||||
Assert(ReplicationSlotCtl != NULL);
|
||||
|
||||
ProcArrayGetReplicationSlotXmin(NULL, &logical_xmin);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user