]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Exclude contrib/pg_plan_advice/pgpa_parser.h from headerscheck.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 18 Mar 2026 17:10:14 +0000 (13:10 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 18 Mar 2026 17:10:22 +0000 (13:10 -0400)
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

index 3d3e371a8e1b584f0780f103033950ff6fa10e75..7f03c2b47bde9d7f45b715d82650d37c9e160933 100755 (executable)
@@ -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