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

From Tom Lane
Subject Re: TOAST-table vacuuming (was Re: Idea for reducing pl anning time)
Date
Msg-id 14100.976921688@sss.pgh.pa.us
Whole thread Raw
In response to RE: TOAST-table vacuuming (was Re: Idea for reducing pl anning time)  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
List pgsql-hackers
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM> writes:
>> 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.

Oh, OK.  What say I rename the data structure to HOLDERTAG or something
like that, so it's more clear what it's for?  Any suggestions for a
name?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: CURRENT/OLD keywords still broken
Next
From: Tom Lane
Date:
Subject: Re: CURRENT/OLD keywords still broken