this is quite complicate to port over all databases, because there are no standards for quoting..... I can't really express the issue better than this stackoverflow answer....
http://stackoverflow.com/questions/10573922/what-does-the-sql-standard-say-about-usage-of Il giorno giovedì 28 giugno 2012 16:41:22 UTC+2, Massimo Di Pierro ha scritto: > > Please upload this in a google code issue. > > I see you use the `tablename` syntax in baseadapter. This works for MySQL > my I suspect it will break other databases. I cannot find any doc which > says this is a standard SQL syntax. > > On Wednesday, 27 June 2012 23:56:05 UTC-5, Michael Toomim wrote: >> >> Ok, here's one step closer to a fix! >> >> This is what had to be manually changed in order to quote the names of >> tables/fields to load a postgres database into MySQL. >> >> This won't work for other databases. And this only works for *importing >> a database*—table creation, with foreign keys, and insert statements. >> Nothing else (e.g. selects, updates) was tested. And we had to guide it >> manually through the table creation, to get foreign key constraints >> satisfied in the right order. >> >> But this will show an interested developer exactly where to begin fixing >> the code for this bug... that seems to be biting a few of us. >> >

