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.)
This commit is contained in:
Tom Lane 2026-03-18 13:10:14 -04:00
parent b71bf3b845
commit 8df3c7a85e

View file

@ -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