Sailesh Krishnamurthy wrote: > >>>>> "Tom" == Tom Lane <[EMAIL PROTECTED]> writes: > > Tom> Sailesh Krishnamurthy <[EMAIL PROTECTED]> writes: > >> Why not have the traditional approach of a lock table in shared > >> memory, growing and shrinking as appropriate, > > Tom> Because we can't grow shared memory. Whatever size we get at > Tom> startup is what we're stuck with. (I suppose we could try > Tom> asking the kernel for additional segments, but there's every > Tom> likelihood that that will fail.) > > We implemented a Shared Memory MemoryContext using OSSP libmm (used in > Apache) for TelegraphCQ. > > If you think it's useful I can submit it as a patch. > > -- > Pip-pip > Sailesh > http://www.cs.berkeley.edu/~sailesh
^^^^^^^^^^^^^^^ Watch out, that code from Berkeley usually is a mess. :-) Seriously, though, it would be good to see what you guys are up to. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org