Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Table names in postgresql can be max 63 characters long
  • Loading branch information
csandor committed Mar 9, 2016
1 parent de06cd7 commit 48e20cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/ImportIntoPostGIS.py
Expand Up @@ -104,7 +104,7 @@ def processAlgorithm(self, progress):
table = self.getParameterValue(self.TABLENAME).strip()
if table == '':
table = layer.name()
table = table.replace(' ', '').lower()
table = table.replace(' ', '').lower()[0:62]
providerName = 'postgres'

try:
Expand Down

0 comments on commit 48e20cf

Please sign in to comment.