Gokulakannan Somasundaram <gokul007(at)gmail(dot)com> writes:
> Consider Time instances T1, T2, T3, T4
> T1 : session 1 holds the write lock on page p1 and completes the unique
> check on p1, p2 and p3.
> T2 : session 1 releases the lock on p1 (its waiting to acquire a ex lock on
> p2)
That's not what we do. See _bt_findinsertloc.
regards, tom lane