Skip to content

Commit 509ca85

Browse files
author
Dmitry Vasilyev
committed
Fixed path to pg_config
1 parent 6780d28 commit 509ca85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ EXTRA_CLEAN = y.tab.c y.tab.h \
1515
jsquery_gram.c jsquery_scan.c jsquery_gram.h
1616

1717
ifdef USE_PGXS
18-
PG_CONFIG = pg_config
18+
PG_CONFIG ?= pg_config
1919
PGXS := $(shell $(PG_CONFIG) --pgxs)
2020
include $(PGXS)
2121
else

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Before build and install you should ensure following:
4949
PostgreSQL from source.
5050
* You have flex and bison installed on your system. JsQuery was tested on
5151
flex 2.5.37-2.5.39, bison 2.7.12.
52-
* Your PATH variable is configured so that pg\_config command available.
52+
* Your PATH variable is configured so that pg\_config command available, or set PG_CONFIG variable.
5353

5454
Typical installation procedure may look like this:
5555

0 commit comments

Comments
 (0)