postgis: prefix table name with schema

This commit is contained in:
Jiri Drbalek 2015-04-20 11:10:45 +00:00
parent a621022536
commit edcc0565fb

View file

@ -234,6 +234,10 @@ postgis_datasource::postgis_datasource(parameters const& params)
s << "SELECT ST_SRID(\"" << geometryColumn_ << "\") AS srid FROM ";
if (!geometry_table_.empty())
{
if (!schema_.empty())
{
s << schema_ << '.';
}
s << geometry_table_;
}
else