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):