devtools/__init__.py
changeset 9519 32662203e334
parent 9498 a76ac18f09c4
child 9576 5d4f662f5e31
--- a/devtools/__init__.py	Tue Feb 04 11:23:58 2014 +0100
+++ b/devtools/__init__.py	Mon Feb 10 16:06:16 2014 +0100
@@ -545,7 +545,7 @@
         super(PostgresTestDataBaseHandler, self).__init__(config)
         datadir = join(self.config.apphome, 'pgdb')
         if not exists(datadir):
-            subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8'])
+            subprocess.check_call(['initdb', '-D', datadir, '-E', 'utf-8', '--locale=C'])
         port = self.system_source['db-port']
         subprocess.check_call(['pg_ctl', 'start', '-w', '-D', datadir, '-o', '-h "" -k /tmp -p %s' % port])
         self.__CTL.add(datadir)