add RESUME_INTERRUPTS before throw

This commit is contained in:
ashnah 2021-06-28 09:09:27 +08:00
parent ae3ee01cf3
commit b9c9a2684a
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ void statement_init_metric_context()
PG_CATCH();
{
(void)syscalllockRelease(&u_sess->statement_cxt.list_protect);
RESUME_INTERRUPTS();
PG_RE_THROW();
}
PG_END_TRY();