Fix new warnings from GCC 7
This addresses the new warning types -Wformat-truncation
-Wformat-overflow that are part of -Wall, via -Wformat, in GCC 7.
Branch
------
REL9_2_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/de973f6e75e05c532d78d4ee98d55322ab166529
Modified Files
--------------
contrib/pg_archivecleanup/pg_archivecleanup.c | 4 ++--
contrib/pg_standby/pg_standby.c | 6 +++---
contrib/pg_upgrade/pg_upgrade.h | 4 ++--
src/backend/access/transam/xlog.c | 4 ++--
src/backend/replication/basebackup.c | 6 +++---
src/backend/storage/file/copydir.c | 10 +++++-----
src/backend/storage/file/fd.c | 12 ++++++------
src/backend/storage/file/reinit.c | 8 ++++----
src/backend/utils/adt/dbsize.c | 14 +++++++-------
src/backend/utils/cache/relcache.c | 4 ++--
src/backend/utils/error/elog.c | 2 +-
src/backend/utils/time/snapmgr.c | 4 ++--
src/bin/pg_basebackup/pg_receivexlog.c | 2 +-
src/bin/pg_resetxlog/pg_resetxlog.c | 12 ++++++------
src/timezone/pgtz.c | 4 ++--
15 files changed, 48 insertions(+), 48 deletions(-)