| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Standardize the printf format for st_size |
| Date: | 2020-09-24 19:07:09 |
| Message-ID: | E1kLWaD-0001xZ-Ls@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2020-09-24 19:44:11 | pgsql: Fix two bugs in MaintainOldSnapshotTimeMapping. |
| Previous Message | Tom Lane | 2020-09-24 18:58:49 | Re: pgsql: Improve the error message for an inappropriate column definition |