Skip to content

Commit 48e20cf

Browse files
committedMar 9, 2016
Table names in postgresql can be max 63 characters long
1 parent de06cd7 commit 48e20cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/ImportIntoPostGIS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def processAlgorithm(self, progress):
104104
table = self.getParameterValue(self.TABLENAME).strip()
105105
if table == '':
106106
table = layer.name()
107-
table = table.replace(' ', '').lower()
107+
table = table.replace(' ', '').lower()[0:62]
108108
providerName = 'postgres'
109109

110110
try:

0 commit comments

Comments
 (0)
Please sign in to comment.