From a34e786924b54d94dbf28c182aed27d0e92dba06 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 8 Mar 2018 14:01:39 -0300 Subject: [PATCH v3 1/4] add missing CommandCounterIncrement in StorePartitionBound --- src/backend/catalog/heap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index cf36ce4add..2b5377bdf2 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -3299,6 +3299,9 @@ StorePartitionBound(Relation rel, Relation parent, PartitionBoundSpec *bound) heap_freetuple(newtuple); heap_close(classRel, RowExclusiveLock); + /* Make update visible */ + CommandCounterIncrement(); + /* * The partition constraint for the default partition depends on the * partition bounds of every other partition, so we must invalidate the -- 2.11.0