pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_stat_statements: Add coverage for entry_dealloc()
Date: Sat, 30 Dec 2023 19:19:43 +0000
Message-ID: <E1rJes3-00CgNs-Cl@gemulon.postgresql.org> (raw)

pg_stat_statements: Add coverage for entry_dealloc()

This involves creating more than pg_stat_statements.max entries and
checking that the limit is kept and the least used entries are kicked
out.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/40d1e4f2-835f-448f-a541-8ff5db75bf3d@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/742f6b3e6df980d7dafa4a18a165d285483d5f0e

Modified Files
--------------
contrib/pg_stat_statements/Makefile                |  2 +-
contrib/pg_stat_statements/expected/max.out        | 82 ++++++++++++++++++++++
contrib/pg_stat_statements/meson.build             |  1 +
contrib/pg_stat_statements/pg_stat_statements.conf |  2 +
contrib/pg_stat_statements/sql/max.sql             | 61 ++++++++++++++++
5 files changed, 147 insertions(+), 1 deletion(-)



Message-ID: <E1rJes3-00CgNs-Cl@gemulon.postgresql.org>
Permalink:  ../E1rJes3-00CgNs-Cl@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rJes3-00CgNs-Cl@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_stat_statements: Add coverage for entry_dealloc()
  In-Reply-To: <E1rJes3-00CgNs-Cl@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