| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pg_amcheck: Minor test speedups |
| Date: | 2023-03-11 23:44:39 |
| Message-ID: | E1pb8tD-0035NA-7b@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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 <mark(dot)dilger(at)enterprisedb(dot)com>
Discussion: https://postgr.es/m/20230309001558.b7shzvio645ebdta@awork3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a4f23f9b3cddb86137a3b1683dcbe49d8b41ea7b
Modified Files
--------------
src/bin/pg_amcheck/t/004_verify_heapam.pl | 33 ++++++++++++++-----------------
1 file changed, 15 insertions(+), 18 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2023-03-12 13:05:10 | pgsql: Mark unsafe_tests module as not runnable with installcheck |
| Previous Message | Andres Freund | 2023-03-11 22:55:08 | pgsql: amcheck: Fix ordering bug in update_cached_xid_range() |