PG-1349 Remove call to LWLockRelease() in PG_CATCH()
It is not safe to release an LWLock in a catch section without incrementing InterruptHoldoffCount so let's isntead simply not release the lock here.pull/518/head
parent
4ebb3d1f36
commit
9333608c3a
|
@ -2018,8 +2018,6 @@ pgsm_store(pgsmEntry *entry)
|
|||
}
|
||||
PG_CATCH();
|
||||
{
|
||||
pgsm_lock_release(pgsm);
|
||||
|
||||
if (DsaPointerIsValid(dsa_query_pointer))
|
||||
dsa_free(query_dsa_area, dsa_query_pointer);
|
||||
PG_RE_THROW();
|
||||
|
|
Loading…
Reference in New Issue