Import into PostGIS fails due to capital letter #19845
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Author Name: Spencer Gardner (@spencerrecneps)
Original Redmine Issue: 11585
Affected QGIS version: master
Redmine category:processing/qgis
Assignee: Victor Olaya
When using the Import into PostGIS tool, if I give a table name that starts with a capital letter the tool fails while creating the spatial index:
@message: relation "scratch.tablename" does not exist QUERY: CREATE INDEX sidx_Tablename ON scratch.Tablename USING GIST(geom) See log for more details@
It appears the script doesn't honor the initial capital letter when trying to create the index.
Steps to reproduce:
1 - Open "Import into PostGIS" processing tool
2 - Fill out appropriate fields, specifying a table name that starts with a capital letter
3 - Run the tool
Expected behavior is that the tool successfully creates a new table with a spatial index.
The text was updated successfully, but these errors were encountered: