Bug report #10600
db_manager is unable to load rasters from connections with no dbname specified
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19005|
When a database name is not specified in a postgis connection string, relying on libpq default, the loading of postgis raster tables fails.
See also #9037
Add test for DBManager's PostGIS connector and plugin
The test connects to the `qgis_test` database, or what the
QGIS_PGTEST_DB variable requests (as per tests/README.md)
A raster table is added to the test postgis setup script,
for use by this new test.
#11 Updated by Sandro Santilli almost 5 years ago
- Resolution set to fixed/implemented
- File gdal_only_dbname.patch added
- Status changed from Reopened to Closed
Well, I'll leave master as it is. After all that's how it behaved before 62b2c1fcabc88e82b0229790b56a7a9ada0f5771 which was meant to fix another issue (username/password in project file).
The patch to restrict the scope of enforcing a "dbname" component is attached to this ticket, in case there are other views and a discussion should follow.