From 1cf370f4aee85c27f638686b49b0304265548b94 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sat, 10 Jan 2015 18:27:49 +0100 Subject: [PATCH] add missing quotes to encoding --- gvapgsql/pgsqltasks/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gvapgsql/pgsqltasks/tasks.py b/gvapgsql/pgsqltasks/tasks.py index 7e70157..5fcf861 100644 --- a/gvapgsql/pgsqltasks/tasks.py +++ b/gvapgsql/pgsqltasks/tasks.py @@ -140,7 +140,7 @@ def create_pgsql_database(dbname, username): curs.execute( """ CREATE DATABASE %(dbname)s OWNER %(username)s - TEMPLATE template0 ENCODING UTF8 + TEMPLATE template0 ENCODING 'UTF8' """, {'dbname': Ident(dbname), 'username': Ident(username)} )