Skip to content

Commit

Permalink
add counter
Browse files Browse the repository at this point in the history
  • Loading branch information
ildus committed Oct 22, 2018
1 parent d38e9a7 commit 392b8db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sr_plan.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ sr_planner(Query *parse, int cursorOptions, ParamListInfo boundParams)

tuple = heap_form_tuple(sr_plans_heap->rd_att, values, nulls);
simple_heap_insert(sr_plans_heap, tuple);

/* Make changes visible */
CommandCounterIncrement();
#if PG_VERSION_NUM >= 100000
index_insert(sr_index_rel,
values, nulls,
Expand Down

0 comments on commit 392b8db

Please sign in to comment.