Re: Autovacuum breakage from a734fd5d1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Autovacuum breakage from a734fd5d1
Date
Msg-id 5645.1480303809@sss.pgh.pa.us
Whole thread Raw
In response to Re: Autovacuum breakage from a734fd5d1  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Autovacuum breakage from a734fd5d1  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I think you made this considerably more fragile with those changes.

This code will only ever run at all in corner cases --- cases that
almost by definition will go untested in the standard regression tests.
The problems you suggest it has are corner-squared or corner-cubed cases.
We were rather fortunate to find the bugs in the committed version before
it got into the field, and would be even less likely to find bugs in code
that is meant to run in corner-squared cases.  So, with all due respect,
I think your priorities here are entirely backwards.  I'm much more
worried about whether the code will still work as intended after the next
big backend code refactoring than about whether it's optimal for cases
that will almost never occur in the field.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Autovacuum breakage from a734fd5d1
Next
From: Amit Kapila
Date:
Subject: Re: UNDO and in-place update