[fdo-users] PostGIS - ExecuteSQLQuery result with uppercase column names

Andreas Morf a.morf at fkl.ch
Wed Nov 8 02:35:09 PST 2017


Hello

When using FeatureService::ExecuteSQLQuery through Java-API to access
PostGIS backend the resulting property names provided by MgSqlDataReader are
always upper case - within Postgresql/PostGIS I consequently use lowercase
table- and column names. This is very uncomfortable when programming generic
interfaces/data-viewers.

 

Is this a desired behavior of the PostGIS-FDO driver?

 

The code this conversion takes place is within
Providers\GenericRdbms\Src\Gdbi\GdbiQueryResult.cpp on line 147:

 

                 colInfo->name[i] = towupper(colName[i]);

 

Thanks for any feedback!

Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/fdo-users/attachments/20171108/7eb3ec47/attachment.html>


More information about the fdo-users mailing list