﻿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
14898	Move validate_sql functionality into backend	Christophe Pettus	nobody	"Right now, RawQuery.validate_sql does one thing: It statically checks to see if the query begins with ""SELECT"". In the case of some backends (such as PostgreSQL), other statements can return sets, like FETCH (from a cursor) and DO. It would be great to use those in raw queries as well. Rather than just building up a large list in the function, I suggest that the list be moved into the backend, or the actual guts of validate_sql be delegated to it."	Cleanup/optimization	closed	Database layer (models, ORM)	1.3-alpha	Normal	wontfix			Accepted	0	0	0	0	0	0
