enable postgres extention
This commit is contained in:
parent
a9ab9796cd
commit
7767f90971
1 changed files with 5 additions and 0 deletions
5
debian/grantpriv.sh
vendored
5
debian/grantpriv.sh
vendored
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue