Move gramparse.h to src/backend/parser
John Naylor <john.naylor@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| 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
- [RFC] building postgres with meson 392 messages · 2021-10-12 → 2023-06-12