Re: Re: [COMMITTERS] pgsql: Remove old-style VACUUM FULL (which was known for a little while

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Remove old-style VACUUM FULL (which was known for a little while
Date: 2010-02-11 19:19:53
Message-ID: 12934.1265915993@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> Avoiding a scan before running pg_upgrade is just a performance
> optimisation. I don't think we should be optimising an upgrade in this
> way, especially since sane people do database backups before upgrade
> anyway. The optimisation is misplaced. The fact that we are actively
> planning to have code in the server that only gets executed if
> pg_upgrade screws up scares the hell out of me. If someone else
> suggested it you'd give them both barrels.

If we were putting in new, never tested, code of that description I'd be
scared of it too. Code that's been there since the previous century,
however, is not even remotely the same type of case. Arguably, there is
bigger risk in removing it from tqual.c than not doing so --- it is not
impossible to screw up the removal ...

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2010-02-11 19:35:22 pgsql: Fix typo bug in Hot Standby from recent refactoring.
Previous Message Simon Riggs 2010-02-11 19:03:08 Re: Re: [COMMITTERS] pgsql: Remove old-style VACUUM FULL (which was known for a little while

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2010-02-11 19:20:43 Re: log_error_verbosity function display
Previous Message Alvaro Herrera 2010-02-11 19:08:05 Re: log_error_verbosity function display