﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
9975	initial data parsing error?	antje.gaida@…	nobody	"When I run syncdb with an SQL statement like this in e.g. foo/sql/bar.sql:

INSERT INTO foo_bar (id, sequence)
VALUES (1, 'ATTG--TTC');

it quits with the message:
Failed to install custom SQL for foo.Bar model: unterminated quoted string at or near ""'ATTG;"" at character ***
(*** is the character number... I replaced and shortened my example here, so the original character # will not suit)

Importing the bar.sql from postgres client itself works... that's why I think, the parser is interpreting everthing after '--' as comment... even within strings

Has anybody already a bugfix yet? I couldn't find it here, but maybe I just didn't search for the right words.

Thanks,
Antje"		closed	Database layer (models, ORM)	1.0-beta		duplicate	syncdb, initial data		Unreviewed	0	0	0	0	0	0
