diff --git a/bin/install-site.sh b/bin/install-site.sh index 4ab86b4f..d3253d59 100755 --- a/bin/install-site.sh +++ b/bin/install-site.sh @@ -425,6 +425,16 @@ install_postgis() { fi } +# Create a postgres template called template_utf8 that uses UTF-8 encoding +create_postgres_template_utf8() { + echo "Creating template_utf8 database template... " + sudo -u postgres createdb -T template0 -E UTF-8 template_utf8 + sudo -u postgres psql <