forked from norman/fusionpbx-install.sh-github-mirror
Set client_encoding to UTF8
This commit is contained in:
3
debian/resources/postgresql/bdr.sh
vendored
3
debian/resources/postgresql/bdr.sh
vendored
@@ -95,6 +95,9 @@ systemctl restart postgresql
|
|||||||
cwd=$(pwd)
|
cwd=$(pwd)
|
||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
||||||
|
#set client encoding
|
||||||
|
sudo -u postgres psql -c "SET client_encoding = 'UTF8';";
|
||||||
|
|
||||||
#add the database users and databases
|
#add the database users and databases
|
||||||
sudo -u postgres psql -c "CREATE DATABASE fusionpbx;";
|
sudo -u postgres psql -c "CREATE DATABASE fusionpbx;";
|
||||||
sudo -u postgres psql -c "CREATE DATABASE freeswitch;";
|
sudo -u postgres psql -c "CREATE DATABASE freeswitch;";
|
||||||
|
|||||||
Reference in New Issue
Block a user