[CalendarServer-changes] [6411] CalendarServer/trunk/txdav/base/datastore/subpostgres.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 8 16:07:00 PDT 2010


Revision: 6411
          http://trac.macosforge.org/projects/calendarserver/changeset/6411
Author:   glyph at apple.com
Date:     2010-10-08 16:06:57 -0700 (Fri, 08 Oct 2010)
Log Message:
-----------
Explicitly reate the cluster with the correct default encoding so that it always matches.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/base/datastore/subpostgres.py

Modified: CalendarServer/trunk/txdav/base/datastore/subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/subpostgres.py	2010-10-07 22:29:47 UTC (rev 6410)
+++ CalendarServer/trunk/txdav/base/datastore/subpostgres.py	2010-10-08 23:06:57 UTC (rev 6411)
@@ -478,7 +478,7 @@
             dbInited = Deferred()
             reactor.spawnProcess(
                 CapturingProcessProtocol(dbInited, None),
-                initdb, [initdb], env, workingDir.path,
+                initdb, [initdb, "-E", "UTF8"], env, workingDir.path,
                 uid=self.uid, gid=self.gid,
             )
             def doCreate(result):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101008/75d294da/attachment.html>


More information about the calendarserver-changes mailing list