Re: [HACKERS] proposals for LLL, part 1 - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] proposals for LLL, part 1
Date
Msg-id 35AEDA01.96AF99E4@krs.ru
Whole thread Raw
In response to Re: [HACKERS] proposals for LLL, part 1  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] proposals for LLL, part 1
List pgsql-hackers
Bruce Momjian wrote:
>
> You are correct.  We need to lock Proc stuctures during our scan, but we
> don't need to keep the list in shared memory.  No reason to do it.  Do
> we have to keep the Proc's locked while we get our table data locks.  I
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
No! Only while we are scanning Procs...

> sure hope not.  Not sure how we are going prevent someone from
> committing their transaction between our Proc scan and when we start our
> transaction.  Not even sure if I should be worried about that.

We shouldn't... It doesn't matter.

Vadim

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] proposals for LLL, part 1
Next
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] proposals for LLL, part 1