←back to thread

570 points davidgu | 1 comments | | HN request time: 0.205s | source
1. DumBthInker007 ◴[] No.44529249[source]
My understanding: i think as postgres takes an exclusive lock to enqueue the notifications into a shared queue in PreCommit_Notify(), as the actual commit happens after notification was enqueued into the queue,as other transactions also try to notify but wait becacause of the lock ,so does the commit waits.