You can clone with
HTTPS or Subversion.
The PostGIS driver will apparently try to automagically parse the provided SQL to extract the table name, this doesn't work with quoted table names even though that's valid SQL, e.g.:
(select way from "view_planet_osm_line_lang_is" where "addr:interpolation" is not null) as interpolation
But this works:
(select way from view_planet_osm_line_lang_is where "addr:interpolation" is not null) as interpolation
Some table names need to be quoted, e.g. if they contain "-".
[springmeyer] thanks very much for the report. fixed in r1454
[springmeyer] see also #1708 (which will land in Mapnik 0.7.1)