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.)
master
Tom Lane 5 days ago
parent b71bf3b845
commit 8df3c7a85e
  1. 1
      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

Loading…
Cancel
Save