"Qingqing Zhou" <[EMAIL PROTECTED]> writes: > Another alternative might use PG_TRY/PG_CATCH to make sure that the > semaphore is released. But seems this costs too much ...
I agree. LWLockAcquire is a hot-spot already.
Maybe we *should* make it a PANIC. Thoughts?
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
