pgsql: Fix incorrect format placeholders in pgstat.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect format placeholders in pgstat.c
Date: 2024-08-03 18:07:50
Message-ID: E1saJAU-002WRh-Vb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix incorrect format placeholders in pgstat.c

These should have been switched from %d to %u in 3188a4582a8c in the
debugging elogs added in ca1ba50fcb6f. PgStat_Kind should never be
higher than INT32_MAX, but let's be clean.

Issue noticed while hacking more on this area.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/028b4b21df26fee67b3ce75c6f14fcfd3c7cf2ee

Modified Files
--------------
src/backend/utils/activity/pgstat.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Previous Message Peter Eisentraut 2024-08-03 09:56:49 pgsql: Add -Wmissing-variable-declarations to the standard compilation