Skip to content

Commit 392b8db

Browse files
committed
add counter
1 parent d38e9a7 commit 392b8db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sr_plan.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ sr_planner(Query *parse, int cursorOptions, ParamListInfo boundParams)
318318

319319
tuple = heap_form_tuple(sr_plans_heap->rd_att, values, nulls);
320320
simple_heap_insert(sr_plans_heap, tuple);
321+
322+
/* Make changes visible */
323+
CommandCounterIncrement();
321324
#if PG_VERSION_NUM >= 100000
322325
index_insert(sr_index_rel,
323326
values, nulls,

0 commit comments

Comments
 (0)