Merge pull request #4216 from azisyus/postgresql-extension-build-tool
necessary package to build pgsql extension
This commit is contained in:
@@ -93,6 +93,9 @@ usermod -G danbooru,sudo danbooru
|
|||||||
export PG_VERSION=`pg_config --version | egrep -o '[0-9]{1,}\.[0-9]{1,}'`
|
export PG_VERSION=`pg_config --version | egrep -o '[0-9]{1,}\.[0-9]{1,}'`
|
||||||
if verlte 9.5 $PG_VERSION ; then
|
if verlte 9.5 $PG_VERSION ; then
|
||||||
# only do this on postgres 9.5 and above
|
# only do this on postgres 9.5 and above
|
||||||
|
|
||||||
|
#necessary to build parser extension
|
||||||
|
apt install postgresql-server-dev-all -y
|
||||||
git clone https://github.com/r888888888/test_parser.git /tmp/test_parser
|
git clone https://github.com/r888888888/test_parser.git /tmp/test_parser
|
||||||
cd /tmp/test_parser
|
cd /tmp/test_parser
|
||||||
make install
|
make install
|
||||||
|
|||||||
Reference in New Issue
Block a user