pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use int64 for number of entries in pg_stat_statements
Date: Fri, 14 Aug 2026 19:55:52 +0000
Message-ID: <E1wuy0N-00000000aOp-1CsY@gemulon.postgresql.org> (raw)

Use int64 for number of entries in pg_stat_statements

Commit 13b935cd changed hash_get_num_entries to return int64 instead
of long.  This fixes a few more users of hash_get_num_entries which
were missed in the original commit.

PGSS_FILE_HEADER is left unchanged since this only affects as of yet
unreleased versions of PostgreSQL.  Backpatch to v19 where the int64
change was performed.

Author: Karina Litskevich <litskevichkarina@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CACiT8iYTkc33YWaA2D3t51Y5s=GqBO7T1zX7bkpSmet2njcLLw@mail.gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/337485036052ffcdaad0e9df654927f7949f2a68

Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1wuy0N-00000000aOp-1CsY@gemulon.postgresql.org>
Permalink:  ../E1wuy0N-00000000aOp-1CsY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wuy0N-00000000aOp-1CsY@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: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use int64 for number of entries in pg_stat_statements
  In-Reply-To: <E1wuy0N-00000000aOp-1CsY@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