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: Clean up cpluspluscheck violation.
Date: Thu, 20 May 2021 17:03:28 +0000
Message-ID: <E1ljm52-0003HG-P6@gemulon.postgresql.org> (raw)

Clean up cpluspluscheck violation.

"typename" is a C++ keyword, so pg_upgrade.h fails to compile in C++.
Fortunately, there seems no likely reason for somebody to need to
do that.  Nonetheless, it's project policy that all .h files should
pass cpluspluscheck, so rename the argument to fix that.

Oversight in 57c081de0; back-patch as that was.  (The policy requiring
pg_upgrade.h to pass cpluspluscheck only goes back to v12, but it
seems best to keep this code looking the same in all branches.)

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/85c809496d75361aae03d70c68c286f8e2255c68

Modified Files
--------------
src/bin/pg_upgrade/pg_upgrade.h | 2 +-
src/bin/pg_upgrade/version.c    | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1ljm52-0003HG-P6@gemulon.postgresql.org>
Permalink:  ../E1ljm52-0003HG-P6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ljm52-0003HG-P6@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: Clean up cpluspluscheck violation.
  In-Reply-To: <E1ljm52-0003HG-P6@gemulon.postgresql.org>
  References: <E1ljm52-0003HG-P6@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