Move gramparse.h to src/backend/parser

John Naylor <john.naylor@postgresql.org>

Commit: ecaf7c5df54f7fa9df2fdc7225d2bb4e283f0081
Author: John Naylor <john.naylor@postgresql.org>
Date: 2022-09-14T03:57:13Z
Releases: 16.0
Move gramparse.h to src/backend/parser

This header is semi-private, being used only in files related to
raw parsing, so move to the backend directory where those files
live. This allows removal of Makefile rules that symlink gram.h to
src/include/parser, since gramparse.h can now include gram.h from
within the same directory. This has the side-effect of no longer
installing gram.h and gramparse.h, but there doesn't seem to be a
good reason to continue doing so.

Per suggestion from Andres Freund and Peter Eisentraut
Discussion: https://www.postgresql.org/message-id/20220904181759.px6uosll6zbxcum5%40awork3.anarazel.de

Files

PathChange+/−
src/backend/Makefile modified +1 −6
src/backend/parser/gramparse.h (from src/include/parser/gramparse.h) renamed +2 −2
src/backend/parser/gram.y modified +1 −1
src/backend/parser/parser.c modified +1 −1
src/backend/parser/scan.l modified +1 −1
src/include/Makefile modified +2 −2
src/include/parser/.gitignore deleted +0 −1
src/tools/msvc/Install.pm modified +0 −4
src/tools/pginclude/cpluspluscheck modified +0 −1
src/tools/pginclude/headerscheck modified +0 −1

Discussion