enable postgres extention

This commit is contained in:
Praveen Arimbrathodiyil 2016-06-02 21:00:27 +05:30
parent a9ab9796cd
commit 7767f90971

5
debian/grantpriv.sh vendored
View file

@ -23,3 +23,8 @@ echo "Grant all privileges to $user user..."
su postgres -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE template1 to $user;\"" || { su postgres -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE template1 to $user;\"" || {
exit 1 exit 1
} }
# enable the pg_trgm extension
su postgres -c "psql -d $dbname -c \"CREATE EXTENSION pg_trgm;\"" || {
exit 1
}