Bug report #9280
"Add postgis layer" creates a connection that is not removed until qgis is terminated
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17892|
This is observed by monitoring the pgadmin III server status window while adding and removing postgis layers.
When adding a postgis layer, upon clicking "connect" in the dialogue box, 1 connection is created; then, clicking "add" layer to map creates an additional connection. The second connection is removed when the layer is removed from the map; however, the first connection is never removed and remains until qgis is exited.