Improve regression test coverage of expand_tuple().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b39fd897e0398a6bdc6552daa7cacdf9c0e46d7e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-04-14T23:02:30Z
Releases: 11.0
Improve regression test coverage of expand_tuple().

I was dissatisfied with the code coverage report for expand_tuple() in the
wake of commit 7c44c46de: while better than no coverage at all, it was
still not exercising the core function of inserting out-of-line default
values, nor was the HeapTuple-output path covered.  So far as I can find,
the only code path that reaches the latter at present is EvalPlanQual
fetches for non-locked tables.  Hence, extend eval-plan-qual.spec to
test cases where out-of-line defaults must be inserted into a tuple
fetched from a non-locked table.

Discussion: https://postgr.es/m/87woxi24uw.fsf@ansel.ydns.eu

Files

Discussion