projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62e57ff
)
Remove overeager assertion in logical_heap_begin_rewrite.
author
Robert Haas
Fri, 9 May 2014 14:33:40 +0000
(10:33 -0400)
committer
Robert Haas
Fri, 9 May 2014 14:36:12 +0000
(10:36 -0400)
It's legal to configure wal_level=logical and max_replication_slots=0
simultaneously.
Andres Freund
src/backend/access/heap/rewriteheap.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/heap/rewriteheap.c
b/src/backend/access/heap/rewriteheap.c
index 7b5791147740a5be9f1ac73b279297e4af5f5550..687e76e6db670b74cc1c9302a821cf609f2aa2eb 100644
(file)
--- 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);
/*