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 up recent breakage of headerscheck and cpluspluscheck.
Date: Sat, 21 Mar 2020 22:28:47 +0000
Message-ID: <E1jFmbn-0002TS-PW@gemulon.postgresql.org> (raw)

Fix up recent breakage of headerscheck and cpluspluscheck.

headerscheck and cpluspluscheck should skip the recently-added
cmdtaglist.h header, since (like kwlist.h and some other similarly-
designed headers) it's not meant to be included standalone.

evtcache.h was missing an #include to support its usage of Bitmapset.

typecmds.h was missing an #include to support its usage of ParseState.

The first two of these were evidently oversights in commit 2f9661311.
I didn't track down exactly which change broke typecmds.h, but it
must have been some rearrangement in one of its existing inclusions,
because it's referenced ParseState for quite a long time and there
were not complaints from these checking programs before.

Branch
------
master

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

Modified Files
--------------
src/include/commands/typecmds.h    | 2 +-
src/include/tcop/cmdtaglist.h      | 2 +-
src/include/utils/evtcache.h       | 1 +
src/tools/pginclude/cpluspluscheck | 1 +
src/tools/pginclude/headerscheck   | 1 +
5 files changed, 5 insertions(+), 2 deletions(-)



Message-ID: <E1jFmbn-0002TS-PW@gemulon.postgresql.org>
Permalink:  ../E1jFmbn-0002TS-PW@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jFmbn-0002TS-PW@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 up recent breakage of headerscheck and cpluspluscheck.
  In-Reply-To: <E1jFmbn-0002TS-PW@gemulon.postgresql.org>
  References: <E1jFmbn-0002TS-PW@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