mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Table names in postgresql can be max 63 characters long
This commit is contained in:
parent
de06cd7612
commit
48e20cf08f
@ -104,7 +104,7 @@ class ImportIntoPostGIS(GeoAlgorithm):
|
||||
table = self.getParameterValue(self.TABLENAME).strip()
|
||||
if table == '':
|
||||
table = layer.name()
|
||||
table = table.replace(' ', '').lower()
|
||||
table = table.replace(' ', '').lower()[0:62]
|
||||
providerName = 'postgres'
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user