On Wed, Aug 20, 2008 at 11:26 AM, Chris Moffitt <[EMAIL PROTECTED]> wrote: > I am seeing this error - http://dpaste.com/72596/ with django trunk (rev > 8445) when I try to run syncdb using psycopg2 but it works just fine if I > use sqlite. > > Basically I'm getting an error when doing the table introspection code. I > can see that there's been some refactoring in this area but the SQL > statements look the same. > > Any thoughts on how best to troubleshoot this?
I'm afraid I don't have any magic solutions. The best approach I can suggest is to log the SQL that is being executed (either in the Postgres query log or by putting in some debug statements into Django to output connection.queries). Then narrow down the statement that is causing problems by manually invoking the same SQL line by line until you see the same error. Failing that, providing a minimal database dump that demonstrates the problem may help others to replicate (and possibly solve) the problem. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---