Fix an issue where running any query in query tool gives 'list index out of range' error. #5922

This commit is contained in:
Aditya Toshniwal committed 2023-05-03 11:05:00 +05:30
1 parent 14f617681f
commit a73f58160f
2 files changed
+2 -3

No files matched your search

@@ -1390,7 +1390,7 @@ class ViewNode(PGChildNodeView, VacuumSettings, SchemaDiffObjectCompare):
for deftype in deftypes:
res[deftype] = \
parse_priv_to_db(res[row['deftype']], allowed_acls)
parse_priv_to_db(res[deftype], allowed_acls)
grant_sql = render_template("/".join(
[self.template_path, self._SQL_PREFIX + self._GRANT_SQL]),