Thread: pgsql: Fix VPATH builds of the replication parser from git for some !gc

pgsql: Fix VPATH builds of the replication parser from git for some !gc

From
Andres Freund
Date:
Fix VPATH builds of the replication parser from git for some !gcc compilers.

Some compilers don't automatically search the current directory for
included files. 9cc2c182fc2 fixed that for builds from tarballs by
adding an include to the source directory. But that doesn't work when
the scanner is generated in the VPATH directory. Use the same search
path as the other parsers in the tree.

One compiler that definitely was affected is solaris' sun cc.

Backpatch to 9.1 which introduced using an actual parser for
replication commands.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2024ead21b8ac64f0d6cd13d0c1c2cb8d596238e

Modified Files
--------------
src/backend/replication/Makefile |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)