| From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use int64 for number of entries in pg_stat_statements |
| Date: | 2026-08-14 19:56:05 |
| Message-ID: | E1wuy0a-00000000aPX-3k6e@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)gmail(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2026-08-14 20:28:27 | pgsql: doc: Clarify the logging collector's guarantees. |
| Previous Message | Daniel Gustafsson | 2026-08-14 19:55:52 | pgsql: Use correct data type for version identifier |