pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix incorrect format placeholders in pgstat.c
Date: Sat, 03 Aug 2024 18:07:50 +0000
Message-ID: <E1saJAU-002WRh-Vb@gemulon.postgresql.org> (raw)

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



view thread (2+ messages)

Message-ID: <E1saJAU-002WRh-Vb@gemulon.postgresql.org>
Permalink:  ../E1saJAU-002WRh-Vb@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1saJAU-002WRh-Vb@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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix incorrect format placeholders in pgstat.c
  In-Reply-To: <E1saJAU-002WRh-Vb@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