pgsql: Use correct data type for version identifier

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use correct data type for version identifier
Date: 2026-08-14 19:55:52
Message-ID: E1wuy0N-00000000aOr-1IDM@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use correct data type for version identifier

PGSS_PG_MAJOR_VERSION is written as an uint32 field, but was read back
into an int32. Fix to make sure reading and writing use the same data
type.

Author: Karina Litskevich <litskevichkarina(at)gmail(dot)com>
Discussion: https://postgr.es/m/CACiT8iYTkc33YWaA2D3t51Y5s=GqBO7T1zX7bkpSmet2njcLLw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1b87dd4303a9a90f2f4004fb08a00af7d3d25207

Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-08-14 19:56:05 pgsql: Use int64 for number of entries in pg_stat_statements
Previous Message Nathan Bossart 2026-08-14 18:42:23 pgsql: Add missing PGDLLIMPORT marker.