pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix C++ compile failures in headers.
Date: Thu, 10 Jan 2019 19:07:06 +0000
Message-ID: <E1ghffW-0004Jv-5s@gemulon.postgresql.org> (raw)

Fix C++ compile failures in headers.

Avoid using "typeid" as a parameter name in header files, since that
is a C++ keyword.  These cases were introduced recently, in 04fe805a1
and 586b98fdf.

Since I'm an incurable neatnik, also rename these parameters in the
underlying function definitions.  That's not really necessary per
project rules, but I don't like function declarations that don't
quite agree with the underlying definitions.

Per src/tools/pginclude/cpluspluscheck.

Branch
------
master

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

Modified Files
--------------
src/backend/optimizer/plan/setrefs.c |  6 +++---
src/backend/utils/adt/varlena.c      | 16 ++++++++--------
src/include/optimizer/planmain.h     |  2 +-
src/include/utils/varlena.h          |  2 +-
4 files changed, 13 insertions(+), 13 deletions(-)



Message-ID: <E1ghffW-0004Jv-5s@gemulon.postgresql.org>
Permalink:  ../E1ghffW-0004Jv-5s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ghffW-0004Jv-5s@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix C++ compile failures in headers.
  In-Reply-To: <E1ghffW-0004Jv-5s@gemulon.postgresql.org>
  References: <E1ghffW-0004Jv-5s@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