﻿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
6394	custom_sql_for_model(): Small patch to remove comments better	Thomas Güttler <hv@…>	nobody	"Hi,

this is a small patch to remove comments from custom sql files better.

My custom sql file started like this:
{{{
-- CREATE LANGUAGE ""plpythonu"";

-- Comment
}}}

Before my patch the first sql command was '-- CREATE LANGUAGE ""plpythonu"";'
this caused an empty ProgrammingError with psycopg2.
"		closed	Core (Other)	dev		fixed			Ready for checkin	1	0	0	0	0	0
