|
From: Mason S. <ms...@tr...> - 2014-02-10 22:25:30
|
On Mon, Feb 10, 2014 at 4:12 PM, Thomas Perry <vip...@gm...> wrote: > Good afternoon all, > > I was curious if there was anything special, possibly simple, that one > would need to do in order to get Django to work with postgres-xc? > > I have successfully used Django with Postgresql, and other databases, but > the nature of postgres-xc points to a fairly different approach when > 'syncdb' is used. > > Specifically I received this error when utilizing Django's 'syncdb' > > "django.db.utils.NotSupportedError: Cannot create index whose evaluation > cannot be enforced to remote nodes" > > Obviously Django is, erroneously, trying to write to the Coordinator as > though it were a database that should be written to. > > Has anyone had any experience with communicating with postgres-xc from > Django? I suspect there isn't much that needs to be done, but I cannot find > much information on the topic. > Nikhil Sontakke blogged about this here: http://www.stormdb.com/content/getting-django-work-postgres-xcstormdb?destination=node%2F949 Regards, -- Mason Sharp TransLattice - http://www.translattice.com Distributed and Clustered Database Solutions |