pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix new warnings from GCC 7
Date: Tue, 16 May 2017 13:00:37 +0000
Message-ID: <E1dAc5d-0000dR-8G@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/80a06b5acda386edcb48a98188d9bfdd7a338a4e

Modified Files
--------------
contrib/pg_archivecleanup/pg_archivecleanup.c |  4 ++--
contrib/pg_standby/pg_standby.c               |  6 +++---
contrib/pg_upgrade/relfilenode.c              |  4 ++--
src/backend/access/transam/xlog.c             |  4 ++--
src/backend/postmaster/pgstat.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/initdb/initdb.c                       |  4 ++--
src/bin/pg_basebackup/pg_receivexlog.c        |  2 +-
src/bin/pg_resetxlog/pg_resetxlog.c           | 12 ++++++------
src/timezone/pgtz.c                           |  4 ++--
17 files changed, 52 insertions(+), 52 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (6+ messages)  latest in thread

Message-ID: <E1dAc5d-0000dR-8G@gemulon.postgresql.org>
Permalink:  ../E1dAc5d-0000dR-8G@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1dAc5d-0000dR-8G@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Fix new warnings from GCC 7
  In-Reply-To: <E1dAc5d-0000dR-8G@gemulon.postgresql.org>
  References: <E1dAc5d-0000dR-8G@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox