Backed out changeset b288debc6736
Only superusers can set lc_messages variable. This prevents connection in many
cases.
Closes #14010345.
--- 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()