Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vladishev <aleksander.vladishev@zabbix.com>2019-11-27 14:22:28 +0300
committerAlexander Vladishev <aleksander.vladishev@zabbix.com>2019-11-27 14:22:57 +0300
commit9af5b333a59312bb6eee2085d66eed13d490ff9d (patch)
tree3d679adcdad087e2c3f03544daf807f42afe971e /build.xml
parent0468991b13ad63d0fef85cc65f0b582128db8199 (diff)
.......... [ZBXNEXT-686] added encoding in PostgreSQL database creation script
(cherry picked from commit 086d2de79ffe81f3475c6be29c6d16c723ca6441) (cherry picked from commit f2374b898e061529f32afdb2bf688c9989a0b1e5)
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 25f745c6a06..5466ebb5880 100644
--- a/build.xml
+++ b/build.xml
@@ -102,7 +102,7 @@
<arg line="-h '${dbhost}'"/>
<arg line="-U '${dbuser}'"/>
<arg line="--set ON_ERROR_STOP=1"/>
- <arg line="-c 'create database ${dbname}'"/>
+ <arg line="-c 'create database ${dbname} ENCODING = UTF8 TEMPLATE = template0'"/>
</exec>
<exec executable="psql" input="database/postgresql/schema.sql" failonerror="on">
<env key="PGPASSWORD" value="${dbpassword}"/>
@@ -144,7 +144,7 @@
<arg line="-h '${dbhost}'"/>
<arg line="-U '${dbuser}'"/>
<arg line="--set ON_ERROR_STOP=1"/>
- <arg line="-c 'create database ${dbname}_proxy'"/>
+ <arg line="-c 'create database ${dbname}_proxy ENCODING = UTF8 TEMPLATE = template0'"/>
</exec>
<exec executable="psql" input="database/postgresql/schema.sql" failonerror="on">
<env key="PGPASSWORD" value="${dbpassword}"/>