pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use int64 for number of entries in pg_stat_statements
2+ messages / 1 participants
[nested] [flat]

* pgsql: Use int64 for number of entries in pg_stat_statements
@ 2026-08-14 19:55 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2026-08-14 19:55 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Use int64 for number of entries in pg_stat_statements
@ 2026-08-14 19:56 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2026-08-14 19:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_19_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-08-14 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-08-14 19:55 pgsql: Use int64 for number of entries in pg_stat_statements Daniel Gustafsson <dgustafsson@postgresql.org>
2026-08-14 19:56 pgsql: Use int64 for number of entries in pg_stat_statements Daniel Gustafsson <dgustafsson@postgresql.org>

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