Fix syntax error postgresql (#387)
This commit is contained in:
parent
d284ace4ed
commit
38db06f931
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user