Re: PATCH to allow concurrent VACUUMs to not lock each
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>, Hannu Krosing <hannu@tm.ee>, Neil Conway <neilc@samurai.com>, pgsql-patches@postgresql.org
Date: 2005-08-17T19:40:53Z
Lists: pgsql-hackers
Attachments
- (unnamed) (text/plain)
Just for the archives, attached is as far as I'd gotten with cleaning up Hannu's patch before I realized that it wasn't doing what it needed to do. This fixes an end-of-transaction race condition (can't unset inVacuum before xact end, unless you want OldestXmin going backwards from the point of view of other people) and improves the documentation of what's going on. But unless someone can convince me that it's safe to mess with GetSnapshotData, it's unlikely this'll ever get applied. regards, tom lane