<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
1) if all the SQL requests required to produce a map are in the style file<br>
or else if there are other SQL requests not if in this file ( and where they<br>
are ).<br></blockquote><div><br>Part of SQL is wrapping and table discovery logic in Mapnik's PostGIS driver, look for all text strings in <a href="https://github.com/mapnik/mapnik/blob/333ef9fde145f88339eaccba810305707bae9b0e/plugins/input/postgis/postgis_datasource.cpp">https://github.com/mapnik/mapnik/blob/333ef9fde145f88339eaccba810305707bae9b0e/plugins/input/postgis/postgis_datasource.cpp</a> starting from line 170, and nearby files.</div></div></div>