mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-04 10:23:03 -05:00
Fix View data issue for the table without column.
This commit is contained in:
@@ -1453,9 +1453,10 @@ Failed to reset the connection to the server due to following error:
|
||||
desc in cur.ordered_description()]
|
||||
|
||||
pos = 0
|
||||
for col in self.column_info:
|
||||
col['pos'] = pos
|
||||
pos += 1
|
||||
if self.column_info:
|
||||
for col in self.column_info:
|
||||
col['pos'] = pos
|
||||
pos += 1
|
||||
|
||||
self.row_count = cur.get_rowcount()
|
||||
if not no_result and cur.get_rowcount() > 0:
|
||||
|
||||
Reference in New Issue
Block a user