Merge pull request #4216 from azisyus/postgresql-extension-build-tool

necessary package to build pgsql extension
This commit is contained in:
evazion
2019-11-21 21:40:32 -06:00
committed by GitHub

View File

@@ -93,6 +93,9 @@ usermod -G danbooru,sudo danbooru
export PG_VERSION=`pg_config --version | egrep -o '[0-9]{1,}\.[0-9]{1,}'`
if verlte 9.5 $PG_VERSION ; then
# 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
cd /tmp/test_parser
make install