diff options
author | John Naylor <john.naylor@postgresql.org> | 2022-09-14 10:41:44 +0700 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2022-09-14 10:57:13 +0700 |
commit | ecaf7c5df54f7fa9df2fdc7225d2bb4e283f0081 (patch) | |
tree | 2e80f00c444d5d7406f4132390a60f66ea793932 /src/backend/parser/parser.c | |
parent | f352e2d08ac048d7407dd6098fc6b344ff85c2dd (diff) | |
download | postgresql-ecaf7c5df54f7fa9df2fdc7225d2bb4e283f0081.tar.gz postgresql-ecaf7c5df54f7fa9df2fdc7225d2bb4e283f0081.zip |
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
Diffstat (limited to 'src/backend/parser/parser.c')
-rw-r--r-- | src/backend/parser/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/parser/parser.c b/src/backend/parser/parser.c index 50227cc0989..ef85d3bb68e 100644 --- a/src/backend/parser/parser.c +++ b/src/backend/parser/parser.c @@ -22,7 +22,7 @@ #include "postgres.h" #include "mb/pg_wchar.h" -#include "parser/gramparse.h" +#include "gramparse.h" #include "parser/parser.h" #include "parser/scansup.h" |