Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> With this comment, I take it you'd disagree with my recoding of
> The current code has to scan only the xid's in each PGPROC struct.
> However I had to rewrite it to peek at pg_subtrans, and this is done
> while the SInvalLock is share-locked. pg_subtrans may need to do some
> I/O to get the data, and there could be multiple queries, depending on
> the nesting level.
You're right, I think that's really awful :-(
regards, tom lane
In response to
pgsql-patches by date
|Next:||From: Sean Chittenden||Date: 2004-05-28 05:48:41|
|Subject: Small doc patch for area() function...|
|Previous:||From: Alvaro Herrera||Date: 2004-05-28 05:14:55|
|Subject: Re: Cancel/Kill backend functions|