diff --git a/debian/grantpriv.sh b/debian/grantpriv.sh index 135a676411..864bbec9b1 100755 --- a/debian/grantpriv.sh +++ b/debian/grantpriv.sh @@ -23,3 +23,8 @@ echo "Grant all privileges to $user user..." su postgres -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE template1 to $user;\"" || { exit 1 } + +# enable the pg_trgm extension +su postgres -c "psql -d $dbname -c \"CREATE EXTENSION pg_trgm;\"" || { + exit 1 + }