Commit Graph

1 Commits (1d41f62294c24d51dd93f6444d7b7572312856ae)

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