From 38db06f931a4fd505960b4402df738405d186d23 Mon Sep 17 00:00:00 2001 From: Sam Manzi Date: Fri, 5 May 2017 16:10:09 +1000 Subject: [PATCH] Fix syntax error postgresql (#387) --- gramps/plugins/db/dbapi/postgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/db/dbapi/postgresql.py b/gramps/plugins/db/dbapi/postgresql.py index 14029c3e0..eca488584 100644 --- a/gramps/plugins/db/dbapi/postgresql.py +++ b/gramps/plugins/db/dbapi/postgresql.py @@ -58,7 +58,7 @@ class Postgresql: self.__connection.autocommit = True self.__cursor = self.__connection.cursor() locale = os.environ.get('LANG', 'en_US.utf8') - self.execute("DROP COLLTAION IF EXISTS glocale") + self.execute("DROP COLLATION IF EXISTS glocale") self.execute("CREATE COLLATION glocale (LOCALE = '%s')" % locale) def _hack_query(self, query):