Re: Fwd: How does the partitioned lock manager works? - Mailing list pgsql-hackers

From Cui Shijun
Subject Re: Fwd: How does the partitioned lock manager works?
Date
Msg-id 306760850704280225t20f49f82sa40712bd07c61f89@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: How does the partitioned lock manager works?  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: Fwd: How does the partitioned lock manager works?
List pgsql-hackers
2007/4/28, Heikki Linnakangas <heikki@enterprisedb.com>:
3. Lock that partition
6. Unlock partition

I suddenly realize that LW locks are used to manage the lock hash table.So
when a item is to be inserted into hash table, we must gain that partition lock
first to change that table.
As the insertion algorithm described, a specific partition lock manage some
items, but these items can be stored in anywhere of the hash table,not
necessarily in a bucket chain.
So there are some problems with "different partitions use different hash chains",
a partition can use different hash chains,too. Am I right?

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: When the locially dropped column is also physically dropped
Next
From: Heikki Linnakangas
Date:
Subject: Re: Fwd: How does the partitioned lock manager works?