Re: Patch for pg_upgrade to turn off autovacuum
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Alvaro Herrera <alvherre@commandprompt.com>, Jeff Davis <pgsql@j-davis.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-04-21T21:56:33Z
Lists: pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes: >> The attached patch adds a new postmaster/postgres binary upgrade mode >> (-b) which disables autovacuum, allows only super-user connections, and >> prevents pg_upgrade_support oid assignment when not in upgrade mode. >> It also modifies pg_upgrade to use this new mode rather than play with >> trying to stop autovacuum. > One big problem with this patch is that it will not allow people to use > pg_upgrade when upgrading from 9.1 alpha to beta. Huh? Why would that be? Seems like you've done something in the wrong place if that's an issue. regards, tom lane