#2284: [patch] Extra /sql files with whitespace break syncdb ------------------------------------------------+--------------------------- Reporter: scottanderson | Owner: anonymoushgjdhj vf Status: new | Milestone: post-1.0 Component: django.contrib.databrowse | Version: 1.0-alpha Resolution: | Keywords: syncdb Stage: Accepted | Has_patch: 1 Needs_docs: 1 | Needs_tests: 1 Needs_better_patch: 1 | ------------------------------------------------+--------------------------- Changes (by anonymous):
* needs_better_patch: 0 => 1 * component: django-admin.py => django.contrib.databrowse * version: SVN => 1.0-alpha * milestone: => post-1.0 * owner: nobody => anonymoushgjdhj vf * needs_docs: 0 => 1 Comment: Replying to [ticket:2284 scottanderson]: > Extra .sql files in /sql directories break syncdb when the files have whitespace. > > Example:jgnjn njngjnj jnj koijiojij jiojiojibvj iojiojbio jiojioji ji jiojio joi joijoijovijfiji ijoijkioj iojoij oij oijioj iojio joijiojioj iojioj ioj > > CREATE TABLE "forum_post_fulltext" ( > etc... > ) WITHOUT OIDS; > > CREATE INDEX idxcontent ON forum_post_fulltext USING gist (content_idx); > > CREATE INDEX idxposttree ON forum_post (thread_id, leftid, rightid); > > CREATE FUNCTION f_post_insert() RETURNS trigger AS ' > ... etc. ... > ' LANGUAGE plpgsql > ; > > The above will cause syncdb to display errors. -- Ticket URL: <http://code.djangoproject.com/ticket/2284#comment:18> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@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-updates?hl=en -~----------~----~----~----~------~----~------~--~---