pg_amcheck: Minor test speedups
authorAndres Freund <[email protected]>
Sat, 11 Mar 2023 23:41:47 +0000 (15:41 -0800)
committerAndres Freund <[email protected]>
Sat, 11 Mar 2023 23:41:47 +0000 (15:41 -0800)
commita4f23f9b3cddb86137a3b1683dcbe49d8b41ea7b
treef6c0a659a1179c5d85a0f5d965c03dd44c6d918f
parent4f5d461e048b9c56fe2fa8c7faf7010eed05ba82
pg_amcheck: Minor test speedups

Freezing the relation N times and fetching the tuples one-by-one isn't that
cheap. On my machine this reduces test times by a bit less than one second, on
windows CI it's a few seconds.

Reviewed-by: Mark Dilger <[email protected]>
Discussion: https://postgr.es/m/20230309001558[email protected]
src/bin/pg_amcheck/t/004_verify_heapam.pl