Hi All

I am using the following code in the Mapguide API to return a
MgFeatureReader to my postgis data source.

featureService.SelectFeatures(featureSourceId, classId.QualifiedClassName,
queryOptions);

I am using Mapguide2011 with FDO 3.5

When this command is executed I can see from postgis that a new connection
is opened. Running the following query in postgres show me the open
connections :

select * from pg_stat_activity;

Once i have finished. I call MgFeatureReader.Close(), but the connection to
postgis do not reduce?

Is this possible something to do with Connection  Pooling? or is there a
problem with my code, or Close function.

Many Thanks
James


-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MgFeatureReader-Close-doesnt-close-postgis-connections-tp5288437p5288437.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to