Fix for PG12

pull/463/head
Artem Gavrilov 2024-06-08 17:50:42 +02:00
parent 90e53e6de7
commit 63a0679fee
1 changed files with 4 additions and 1 deletions

View File

@ -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();
}