mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-03 20:20:46 -06:00
Generate the proper unique name for the duplicate column name.
Thanks Murtuza for reporting the issue.
This commit is contained in:
parent
8e29d16eec
commit
8b35a60c08
@ -151,7 +151,7 @@ class DictCursor(_cursor):
|
||||
if idx == 0:
|
||||
od[d.name] = 1
|
||||
else:
|
||||
name = ("%s-%s" % (d.name, idx))
|
||||
name = d.name
|
||||
while name in od:
|
||||
idx += 1
|
||||
name = ("%s-%s" % (d.name, idx))
|
||||
|
Loading…
Reference in New Issue
Block a user