Re: More vacuum.c refactoring
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@dcc.uchile.cl>
Cc: Manfred Koizar <mkoi-pg@aon.at>, pgsql-hackers@postgresql.org
Date: 2004-06-11T05:28:35Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes: > Maybe we could establish heavier testing for this kind of change so > potential patches can be tested extensively. Concurrent vacuums with > all kinds of imaginable operations (insert, updates, deletes), in tight > loops, could be a start. VACUUM FULL takes an exclusive lock, so it should not have to worry about concurrent operations on the table. What we have to think about is the initial states it can see. regards, tom lane