Fix for PG12

This commit is contained in:
Artem Gavrilov
2024-06-08 17:50:42 +02:00
parent 90e53e6de7
commit 63a0679fee

View File

@@ -1279,11 +1279,14 @@ pgsm_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
dest, dest,
completionTag); completionTag);
#endif #endif
if (bump_level)
nesting_level--;
} }
PG_FINALLY(); PG_CATCH();
{ {
if (bump_level) if (bump_level)
nesting_level--; nesting_level--;
PG_RE_THROW();
} }
PG_END_TRY(); PG_END_TRY();
} }