pgsql: Standardize the printf format for st_size - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Standardize the printf format for st_size
Date
Msg-id E1kLWaD-0001xZ-Ls@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Standardize the printf format for st_size

Existing code used various inconsistent ways to printf struct stat's
st_size member.  The type of that is off_t, which is in most cases a
signed 64-bit integer, so use the long long int format for it.

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/twophase.c     | 12 ++++++------
src/backend/access/transam/xlogarchive.c  |  6 +++---
src/bin/pg_basebackup/pg_receivewal.c     |  4 ++--
src/bin/pg_verifybackup/pg_verifybackup.c |  8 ++++----
src/fe_utils/archive.c                    |  6 +++---
5 files changed, 18 insertions(+), 18 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Improve the error message for an inappropriate column definition
Next
From: Robert Haas
Date:
Subject: pgsql: Fix two bugs in MaintainOldSnapshotTimeMapping.