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:17
Message-ID: E1XX92r-0006ue-0G@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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/dc58d949245ca49eebf4c324d116159a4dfc2d6b

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-09-25 13:37:12 pgsql: Refactor space allocation for base64 encoding/decoding in pgcryp
Previous Message Andres Freund 2014-09-25 13:25:02 pgsql: Fix VPATH builds of the replication parser from git for some !gc