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:
Robert Haas 2014-05-09 10:33:40 -04:00
parent 62e57ff040
commit b2dada8f5f
1 changed files with 0 additions and 2 deletions

View File

@ -812,8 +812,6 @@ logical_begin_heap_rewrite(RewriteState state)
if (!state->rs_logical_rewrite)
return;
Assert(ReplicationSlotCtl != NULL);
ProcArrayGetReplicationSlotXmin(NULL, &logical_xmin);
/*