pgsql: Test pg_stat_statements across crash restart

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Test pg_stat_statements across crash restart
Date: 2026-04-02 10:33:19
Message-ID: E1w8FMV-002b2N-03@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Test pg_stat_statements across crash restart

Add 'pg_stat_statements' to the crash restart test, to test that
shared memory and LWLock initialization works across crash restart in
a library listed in shared_preload_libraries. We had no test coverage
for that.

Reviewed-by: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/CAExHW5vM1bneLYfg0wGeAa=52UiJ3z4vKd3AJ72X8Fw6k3KKrg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/148fe2b05df592f5bca575b4e5e8a4253ea5a3ce

Modified Files
--------------
src/test/recovery/t/013_crash_restart.pl | 33 ++++++++++++++++++++++++++++----
1 file changed, 29 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2026-04-02 11:47:43 pgsql: jit: Change the default to off.
Previous Message Amit Kapila 2026-04-02 04:53:05 pgsql: Doc: Fix oversight in commit 55cefadde8.