Skip to content

Commit

Permalink
Fix for PG12
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Jun 8, 2024
1 parent 90e53e6 commit 63a0679
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pg_stat_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1279,11 +1279,14 @@ pgsm_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
dest,
completionTag);
#endif
if (bump_level)
nesting_level--;
}
PG_FINALLY();
PG_CATCH();
{
if (bump_level)
nesting_level--;
PG_RE_THROW();
}
PG_END_TRY();
}
Expand Down

0 comments on commit 63a0679

Please sign in to comment.