Manfred Koizar <[EMAIL PROTECTED]> writes:
> On Thu, 30 Dec 2004 13:36:53 -0500, Tom Lane <[EMAIL PROTECTED]> wrote:
>> Certainly not; indexes depend on locks, not vice versa.  You'd not be
>> able to do that without introducing an infinite recursion into the
>> system design.

> Wouldn't you have to face the same sort of problems if you spill part of
> the lock table to disk?  While you do I/O you have to hold some lock.

See LWLocks ... or spinlocks underneath those.  But (some) operations on
tables and indexes make use of heavyweight locks.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to