Skip to content

Commit

Permalink
Merge pull request #2891 from csandor/patch-1
Browse files Browse the repository at this point in the history
Table names in postgresql can be max 63 characters long
  • Loading branch information
volaya committed Mar 23, 2016
2 parents 2e6fcf5 + 48e20cf commit 48104d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/ImportIntoPostGIS.py
Original file line number Diff line number Diff line change
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 48104d5

Please sign in to comment.