Commit Graph

1 Commits (f09643f592fcf1b0b7e74f0944018a0bf13d45b8)

Author SHA1 Message Date
Diego Fronza fb4f632027 PG-286: Fix deadlock.
Can't call elog() function from inside the pgsm_log as the pgss_hash
lock could be already acquired in exclusive mode, since elog() triggers
the psmg_emit_log hook, when it calls pgss_store it will try to acquire
the pgss_hash lock again, leading to a deadlock.
2022-02-17 19:48:48 +05:00