pgsql: pg_stat_statements: Rework test order

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_stat_statements: Rework test order
Date: 2026-01-20 22:48:20
Message-ID: E1viKWJ-001gNX-2d@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_stat_statements: Rework test order

The test "squashing" was the last item of the REGRESS list, but
"cleanup" should be the second to last, dropping the extension.
"oldextversions" is the last item.

In passing, the REGRESS list is cleaned up to include one item per line,
so as diffs are minimized when adding new test files.

Noticed while playing with this area of the code.

Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Reviewed-by: Man Zeng <zengman(at)halodbtech(dot)com>
Discussion: https://postgr.es/m/aW6_Xc8auuu5iAPi@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f9afd56218af0d704c12540a1b5e893d196f6aa7

Modified Files
--------------
contrib/pg_stat_statements/Makefile | 22 +++++++++++++++++++---
contrib/pg_stat_statements/expected/squashing.out | 1 -
contrib/pg_stat_statements/meson.build | 3 ++-
contrib/pg_stat_statements/sql/squashing.sql | 1 -
4 files changed, 21 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-01-21 02:32:21 pgsql: pg_stat_statements: Clean up REGRESS list in Makefile
Previous Message Peter Eisentraut 2026-01-20 15:43:20 pgsql: tests: Add a test C++ extension module