Re: Bugs in TOAST handling, OID assignment and redo recovery - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bugs in TOAST handling, OID assignment and redo recovery
Date
Msg-id 4158.1523490695@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bugs in TOAST handling, OID assignment and redo recovery  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Bugs in TOAST handling, OID assignment and redo recovery
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> I have not really checked this thread in details, but one thing that
> strikes me is that it would be rather easy to add a TAP test based on
> the initial script that Pavan has sent.  Would that be worth testing
> cycles or not?

I doubt it --- that test is so specialized that it'd be unlikely to
catch any other bug.

An example of the sort of bug that could exist in the same area would
be if we'd failed to note the places in tuptoaster.c that also need to
be switched to SnapshotAny.  Only a test covering heap-rewrite could
have found that, which this test case surely doesn't.

What I think would actually be worth spending some time on is taking
a hard look at the remaining uses of SnapshotDirty to see if any of
them look squishy.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: New files for MERGE
Next
From: Michael Paquier
Date:
Subject: Re: submake-errcodes