Fix an issue where View RE-SQL is not quoting the column comments. #6280

This commit is contained in:
Aditya Toshniwal 2023-05-22 16:24:55 +05:30
parent db3d0c6e21
commit fb3b2a4635
2 changed files with 3 additions and 1 deletions

View File

@ -45,4 +45,5 @@ Bug fixes
| `Issue #6253 <https://github.com/pgadmin-org/pgadmin4/issues/6253>`_ - Fix an issue in the register server when setting the role, an arbitrary SQL query can be fired.
| `Issue #6267 <https://github.com/pgadmin-org/pgadmin4/issues/6267>`_ - Ensure the user is able to log in if the specified OAUTH2_USERNAME_CLAIM is present in the OAuth2 profile.
| `Issue #6278 <https://github.com/pgadmin-org/pgadmin4/issues/6278>`_ - Use dependent instead of dependant in the message.
| `Issue #6280 <https://github.com/pgadmin-org/pgadmin4/issues/6280>`_ - View SQL tab not quoting column comments.
| `Issue #6281 <https://github.com/pgadmin-org/pgadmin4/issues/6281>`_ - VarChar Field Sizes are missing from Query's Grid header.

View File

@ -1361,7 +1361,8 @@ class ViewNode(PGChildNodeView, VacuumSettings, SchemaDiffObjectCompare):
SQL = render_template("/".join(
[self.column_template_path,
self._UPDATE_SQL.format(self.manager.version)]),
o_data=o_data, data=res, is_view_only=True)
o_data=o_data, data=res, is_view_only=True,
conn=self.conn)
sql_data += SQL
# Get Column Grant SQL