Skip to content

Commit

Permalink
Processing importintopostgis: Do not transform table name to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed May 23, 2019
1 parent fd4895b commit bb567cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/ImportIntoPostGIS.py
Expand Up @@ -145,7 +145,7 @@ def processAlgorithm(self, parameters, context, feedback):
if not table or table == '':
table = source.sourceName()
table = table.replace('.', '_')
table = table.replace(' ', '').lower()[0:62]
table = table.replace(' ', '')[0:62]
providerName = 'postgres'

geomColumn = self.parameterAsString(parameters, self.GEOMETRY_COLUMN, context)
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_processing_importintopostgis.py
Expand Up @@ -8,7 +8,7 @@
"""
__author__ = 'Alessandro Pasotti'
__date__ = '2018-09'
__copyright__ = 'Copyright 2018, The QGIS Project'
__copyright__ = 'Copyright 2019, The QGIS Project'

import re

Expand Down

0 comments on commit bb567cd

Please sign in to comment.