From: Tom Lane Date: Wed, 18 Mar 2026 17:10:14 +0000 (-0400) Subject: Exclude contrib/pg_plan_advice/pgpa_parser.h from headerscheck. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8df3c7a85ec24d1598f7a3bf77458b453ee6e6fb;p=thirdparty%2Fpostgresql.git Exclude contrib/pg_plan_advice/pgpa_parser.h from headerscheck. Like other Bison-written headers, it's not worth the trouble to make this compilable standalone. (We might revisit this someday, if we ever move up our minimum required Bison version.) --- diff --git a/src/tools/pginclude/headerscheck b/src/tools/pginclude/headerscheck index 3d3e371a8e1..7f03c2b47bd 100755 --- a/src/tools/pginclude/headerscheck +++ b/src/tools/pginclude/headerscheck @@ -159,6 +159,7 @@ do # 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/pg_plan_advice/pgpa_parser.h && continue test "$f" = contrib/seg/segparse.h && continue test "$f" = src/backend/bootstrap/bootparse.h && continue test "$f" = src/backend/parser/gram.h && continue