Re: GiST: memory allocation, cleanup - Mailing list pgsql-patches

From Neil Conway
Subject Re: GiST: memory allocation, cleanup
Date
Msg-id 418C1B4B.5000609@samurai.com
Whole thread Raw
In response to Re: GiST: memory allocation, cleanup  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-patches
Alvaro Herrera wrote:
> What are you going to base your concurrency work on?  I wonder because I
> skimmed through Marcel Kornacker's theses, and for example it mentioned
> use of predicate locking (among other interesting things).  Do you have
> any ideas yet on how to handle that?

I've read a paper[1] on concurrency and recovery by Kornacker, C. Mohan
and Hellerstein, which is presumably pretty close to Kornacker's thesis
work (which I'll definitely read later). My understanding is that
there's no need to implement predicate locking for GiST any more than
for B+-trees -- it's a nice feature to prevent phantoms, but not a
requirement for implementing page-level concurrency. So I haven't given
any thought to implementing it. If I've misunderstood, please let me know.

-Neil

[1] http://db.cs.berkeley.edu/papers/sigmod97-gist.pdf

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: contrib/xml2: add function xml_encode_special_chars
Next
From: Markus Bertheau
Date:
Subject: Re: contrib/xml2: add function xml_encode_special_chars