On Wed, Apr 21, 2010 at 8:20 AM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> The locking seems overly complex to me.
I tend to agree.
! /*
! * Callers must hold either ProcArrayLock in Exclusive mode or
! * ProcArrayLock in Shared mode *and* known_assigned_xids_lck
! * to update these values.
! */
I'm not convinced that this is either (a) correct or (b) performant.
...Robert