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: [email protected]
Views: Whole Thread | Raw Message | 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
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/eec90ffbf86f77102e0238b39591a26667cab0db

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.