Feature request #9067
Lower case names of fields when importing a shape by DBManager
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||17714|
When importing a shape in Postgis by DBManager, the names of fields are switched to lower case.
It would be better leaving the choice to the user, adding a checkbox in the UI.
#2 Updated by Larry Shaffer almost 4 years ago
- Target version set to Future Release - Lower Priority
- Resolution deleted (
- Status changed from Closed to Open
- File shp2pgsl-gui_preserver-case.png added
I am reopening this. While I understand why the lower case change is done, there is a precedence set by the
shp2pgsl -k option and the
shp2pgsl-gui with its "Preserve case of column names" option (see attachment).
There should probably be a user-configurable option checkbox for "Preserve case of column names" when importing to DB Manager. This may mean updating the underlying code to support this (I did not investigate).
Also note: when using DB Manager's Create table action case is preserved for new column names.