postgis: prefix table name with schema
This commit is contained in:
parent
a621022536
commit
edcc0565fb
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue