Backed out changeset b288debc6736 3.23
authorDenis Laxalde <denis.laxalde@logilab.fr>
Mon, 27 Jun 2016 14:17:19 +0200
branch3.23
changeset 11389 dcfc446d8eae
parent 11386 aaa77d16993a
child 11390 e5453b19bc6e
Backed out changeset b288debc6736 Only superusers can set lc_messages variable. This prevents connection in many cases. Closes #14010345.
cubicweb/server/sqlutils.py
--- a/cubicweb/server/sqlutils.py	Mon Jun 27 09:45:46 2016 +0200
+++ b/cubicweb/server/sqlutils.py	Mon Jun 27 14:17:19 2016 +0200
@@ -584,7 +584,6 @@
 def _init_postgres_connection(cnx):
     """Internal function that will be called to init a postgresql connection"""
     cnx.cursor().execute('SET TIME ZONE UTC')
-    cnx.cursor().execute("SET lc_messages to 'C'")
     # commit is needed, else setting are lost if the connection is first
     # rolled back
     cnx.commit()