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: pg_dump: Rename some typedefs to avoid name conflicts
Date: Thu, 06 Apr 2017 18:21:05 +0000
Message-ID: <E1cwC1p-00071M-Ih@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

pg_dump: Rename some typedefs to avoid name conflicts

In struct _archiveHandle, some of the fields have the same name as a
typedef.  This is kind of confusing, so rename the types so they have
names distinct from the struct fields.  In C++, the previous coding
changes the meaning of the typedef in the scope of the struct, causing
warnings and possibly other problems.

Reviewed-by: Andres Freund <andres@anarazel.de>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4be613f692b8f474d5766627a636e7f838131587

Modified Files
--------------
src/bin/pg_dump/pg_backup.h          |  4 +-
src/bin/pg_dump/pg_backup_archiver.c | 10 ++--
src/bin/pg_dump/pg_backup_archiver.h | 96 ++++++++++++++++++------------------
3 files changed, 55 insertions(+), 55 deletions(-)


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


Message-ID: <E1cwC1p-00071M-Ih@gemulon.postgresql.org>
Permalink:  ../E1cwC1p-00071M-Ih@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cwC1p-00071M-Ih@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: pg_dump: Rename some typedefs to avoid name conflicts
  In-Reply-To: <E1cwC1p-00071M-Ih@gemulon.postgresql.org>
  References: <E1cwC1p-00071M-Ih@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