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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix VPATH builds of the replication parser from git for some !gc
Date: 2014-09-25 13:25:02
Message-ID: E1XX92c-0006uB-1a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/66e620d0c0c40823cca1e3c1edc47fa3e289353c

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-09-25 13:25:17 pgsql: Fix VPATH builds of the replication parser from git for some !gc
Previous Message Andres Freund 2014-09-25 13:24:47 pgsql: Fix VPATH builds of the replication parser from git for some !gc