pgsql: Fix compilerwarning in logging size_t

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix compilerwarning in logging size_t
Date: 2022-04-05 20:24:59
Message-ID: E1nbpjW-000Tsj-Oq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix compilerwarning in logging size_t

The pg_fatal log which included filesizes were using UINT64_FORMAT for
the size_t variables, which failed on 32 bit buildfarm animals. Change
to using plain int instead, which is in line with how digestControlFile
is doing it already.

Per buildfarm animals florican and lapwing.

Discussion: https://postgr.es/m/13C2BF64-4A6D-47E4-9181-3A658F00C9B7@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/75edb919613ee835e7680e40137e494c7856bcf9

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

Browse pgsql-committers by date

  From Date Subject
Next Message Thom Brown 2022-04-06 00:42:48 Re: [COMMITTERS] pgsql: Allow time delayed standbys and recovery
Previous Message Daniel Gustafsson 2022-04-05 19:46:27 Re: pgsql: pg_rewind: Fetch small files according to new size.