pgsql: pg_checksums: data_checksum_version is unsigned so use %u not %d

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_checksums: data_checksum_version is unsigned so use %u not %d
Date: 2020-12-02 01:27:21
Message-ID: E1kkGvR-0006cm-9f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_checksums: data_checksum_version is unsigned so use %u not %d

While the previous behavior didn't generate a warning, we might as well
use an accurate *printf specification.

Backpatch-through: 12

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/888671a8cda5896d36d3ec523e201ab6a11e1855

Modified Files
--------------
src/bin/pg_checksums/pg_checksums.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-12-02 01:41:34 pgsql: Move SHA2 routines to a new generic API layer for crypto hashes
Previous Message Tom Lane 2020-12-01 19:03:07 pgsql: Ensure that expandTableLikeClause() re-examines the same table.