mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-28 03:23:52 -06:00
Fixed an issue where the wrong SQL displayed in difference if the user create
an RLS policy on the table without a column. Fixes #7637
This commit is contained in:
parent
9ac233f244
commit
769f58970e
@ -32,6 +32,7 @@ Bug fixes
|
||||
| `Issue #7557 <https://redmine.postgresql.org/issues/7557>`_ - Fixed an issue where pgAdmin failed to start due to bin path migration.
|
||||
| `Issue #7580 <https://redmine.postgresql.org/issues/7580>`_ - Fixed an issue where backup does not work due to parameter 'preexec_fn' no longer being supported.
|
||||
| `Issue #7607 <https://redmine.postgresql.org/issues/7607>`_ - Ensure that the browser tree should be refreshed after changing the ownership.
|
||||
| `Issue #7637 <https://redmine.postgresql.org/issues/7637>`_ - Fixed an issue where the wrong SQL displayed in difference if the user create an RLS policy on the table without a column.
|
||||
| `Issue #7644 <https://redmine.postgresql.org/issues/7644>`_ - Ensure that the dump servers functionality works from setup.py.
|
||||
| `Issue #7646 <https://redmine.postgresql.org/issues/7646>`_ - Ensure that the Import/Export server menu option is visible.
|
||||
| `Issue #7648 <https://redmine.postgresql.org/issues/7648>`_ - Fixed API test case for change password in the server mode.
|
||||
|
@ -633,11 +633,10 @@ class RowSecurityView(PGChildNodeView):
|
||||
|
||||
drop_sql = ''
|
||||
if drop_req:
|
||||
drop_sql = '\n' + self.delete(gid=1, sid=sid, did=did,
|
||||
scid=scid, tid=tid,
|
||||
plid=oid, only_sql=True)
|
||||
drop_sql = self.delete(gid=1, sid=sid, did=did,
|
||||
scid=scid, tid=tid, plid=oid, only_sql=True)
|
||||
if drop_sql != '':
|
||||
sql = drop_sql + '\n\n' + sql
|
||||
sql = drop_sql + '\n\n'
|
||||
return sql
|
||||
|
||||
@check_precondition
|
||||
|
Loading…
Reference in New Issue
Block a user