From 8c06a282fe35a02338116a7ad4df9ea309b3deb4 Mon Sep 17 00:00:00 2001 From: John Naylor Date: Tue, 6 Sep 2022 10:27:05 +0700 Subject: [PATCH] Add missing exceptions to cpluspluscheck dac048f71 added exceptions to headerscheck but failed to do the same for cpluspluscheck Per report from Andres Freund regarding CI Discussion:https://www.postgresql.org/message-id/20220904205743.y3ntq6ij3aibmxvy%40awork3.anarazel.de --- src/tools/pginclude/cpluspluscheck | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck index 2d3b785342f..8eb44ccdee2 100755 --- a/src/tools/pginclude/cpluspluscheck +++ b/src/tools/pginclude/cpluspluscheck @@ -122,10 +122,18 @@ do # We can't make these Bison output files compilable standalone # without using "%code require", which old Bison versions lack. # parser/gram.h will be included by parser/gramparse.h anyway. + test "$f" = contrib/cube/cubeparse.h && continue + test "$f" = contrib/seg/segparse.h && continue + test "$f" = src/backend/bootstrap/bootparse.h && continue test "$f" = src/include/parser/gram.h && continue test "$f" = src/backend/parser/gram.h && continue + test "$f" = src/backend/replication/repl_gram.h && continue + test "$f" = src/backend/replication/syncrep_gram.h && continue + test "$f" = src/backend/utils/adt/jsonpath_gram.h && continue + test "$f" = src/bin/pgbench/exprparse.h && continue test "$f" = src/pl/plpgsql/src/pl_gram.h && continue test "$f" = src/interfaces/ecpg/preproc/preproc.h && continue + test "$f" = src/test/isolation/specparse.h && continue # ppport.h is not under our control, so we can't make it standalone. test "$f" = src/pl/plperl/ppport.h && continue