RE: TOAST-table vacuuming (was Re: Idea for reducing pl anning time) - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: TOAST-table vacuuming (was Re: Idea for reducing pl anning time)
Date
Msg-id 8F4C99C66D04D4118F580090272A7A234D31FF@sectorbase1.sectorbase.com
Whole thread Raw
Responses Re: TOAST-table vacuuming (was Re: Idea for reducing pl anning time)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> We'd still want XID keys for the locks that are used to wait for a
> particular transaction to complete (eg when waiting to update 
> a tuple). I think that's OK since VACUUM doesn't need to hold any
> such locks, but it'd probably mean making separate lmgr API entry
> points for those locks as opposed to normal table-level locks.

In this case XID is used as key in LOCKTAG, ie in lock identifier,
but we are going to change XIDTAG, ie just holder identifier.
No new entry will be required.

Vadim


pgsql-hackers by date:

Previous
From: "Mikheev, Vadim"
Date:
Subject: RE: TOAST-table vacuuming (was Re: Idea for reducing pl anning time)
Next
From: Bruce Momjian
Date:
Subject: Views as FROM subselects