pgsql: pg_amcheck: Minor test speedups

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: pg_amcheck: Minor test speedups
Дата
Msg-id E1pb8tD-0035NA-7b@gemulon.postgresql.org
обсуждение исходный текст
Список 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.dilger@enterprisedb.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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: amcheck: Fix ordering bug in update_cached_xid_range()
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Mark unsafe_tests module as not runnable with installcheck