From 8df3c7a85ec24d1598f7a3bf77458b453ee6e6fb Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 18 Mar 2026 13:10:14 -0400 Subject: [PATCH] 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.) --- src/tools/pginclude/headerscheck | 1 + 1 file changed, 1 insertion(+) 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