Skip to content

Commit f52584e

Browse files
Fixed an issue where column comments were not displayed in the SQL tab for materialised views. #9486
1 parent 5abd9e3 commit f52584e

File tree

1 file changed

+2
-0
lines changed
  • web/pgadmin/browser/server_groups/servers/databases/schemas/views

1 file changed

+2
-0
lines changed

web/pgadmin/browser/server_groups/servers/databases/schemas/views/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,7 @@ def sql(self, gid, sid, did, scid, vid, **kwargs):
21242124
sql_data += self.get_rule_sql(vid, display_comments)
21252125
sql_data += self.get_trigger_sql(vid, display_comments)
21262126
sql_data += self.get_index_sql(did, vid, display_comments)
2127+
sql_data += self.get_columns_sql(did, vid)
21272128
sql_data = sql_data.strip('\n')
21282129

21292130
if not json_resp:
@@ -2268,6 +2269,7 @@ def _fetch_mview_properties(self, did, scid, vid):
22682269

22692270
# merging formated result with main result again
22702271
result.update(frmtd_reslt)
2272+
self.view_schema = result.get('schema')
22712273

22722274
result['vacuum_table'] = self.parse_vacuum_data(
22732275
self.conn, result, 'table')

0 commit comments

Comments
 (0)