pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Test pg_stat_statements across crash restart
Date: Thu, 02 Apr 2026 10:33:19 +0000
Message-ID: <E1w8FMV-002b2N-03@gemulon.postgresql.org> (raw)

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.bapat.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/CAExHW5vM1bneLYfg0wGeAa=52UiJ3z4vKd3AJ72X8Fw6k3KKrg@mail.gmail...

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(-)



Message-ID: <E1w8FMV-002b2N-03@gemulon.postgresql.org>
Permalink:  ../E1w8FMV-002b2N-03@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w8FMV-002b2N-03@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Test pg_stat_statements across crash restart
  In-Reply-To: <E1w8FMV-002b2N-03@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox