Re: [HACKERS] New lock types

2002-10-06 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > I think creating a new LWLockId (BTFreeListLock?) can help here. The > operations on freelist are short lived and rather infrequent so it > doesn't seem to matter that it is global to all indexes. Seems like a really bad idea to me ... what makes you

Re: [HACKERS] New lock types

2002-10-06 Thread Alvaro Herrera
On Sat, Oct 05, 2002 at 08:25:35PM -0400, Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > >>> It seems to me I'll have to add some amount of lock types > >>> in the lock manager. Does that bother you? > >> > >> Such as? > > > There are three new lock modes: R, RX and RS (Reorgani

Re: [HACKERS] New lock types

2002-10-05 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: >>> It seems to me I'll have to add some amount of lock types >>> in the lock manager. Does that bother you? >> >> Such as? > There are three new lock modes: R, RX and RS (Reorganizer, Reorganizer > Exclusive and Reorganizer Shared). Actually, they ar

Re: [HACKERS] New lock types

2002-10-05 Thread Alvaro Herrera
En Fri, 04 Oct 2002 17:58:06 -0400 Tom Lane <[EMAIL PROTECTED]> escribió: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > I'm looking at implementing the btree reorganizer described in "On-line > > reorganization of sparsely-...", ACM SIGMOD proceedings 1996, by Zou and > > Salzberg. The title

Re: [HACKERS] New lock types

2002-10-04 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > I'm looking at implementing the btree reorganizer described in "On-line > reorganization of sparsely-...", ACM SIGMOD proceedings 1996, by Zou and > Salzberg. It seems to me I'll have to add some amount of lock types > in the lock manager. Does that b

[HACKERS] New lock types

2002-10-04 Thread Alvaro Herrera
Hello hackers, I'm looking at implementing the btree reorganizer described in "On-line reorganization of sparsely-...", ACM SIGMOD proceedings 1996, by Zou and Salzberg. It seems to me I'll have to add some amount of lock types in the lock manager. Does that bother you? -- Alvaro Herrera () "