]> granicus.if.org Git - postgresql/commit
Improve regression test coverage for TID scanning.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 20 Mar 2017 16:30:08 +0000 (12:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 20 Mar 2017 16:30:23 +0000 (12:30 -0400)
commitbe6c3d19fd454359f05176eb1add82d4fc6e7758
tree201685e8fabfcc20e55140cb66ec84cfdbd0aa35
parent9cf6033281fdaf938b826545a643f951086d8671
Improve regression test coverage for TID scanning.

TidScan plan nodes were not systematically tested before.  These additions
raise the LOC coverage number for the basic regression tests from 52% to
92% in nodeTidscan.c, and from 60% to 93% in tidpath.c.

Andres Freund, tweaked a bit by me

Discussion: https://postgr.es/m/20170320062511.hp5qeurtxrwsvfxr@alap3.anarazel.de
src/test/regress/expected/tidscan.out [new file with mode: 0644]
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/tidscan.sql [new file with mode: 0644]