mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that the dependencies tab shows correct information for Synonyms. Fixes #5422
This commit is contained in:
parent
9bdf900b25
commit
5656f756e6
@ -11,6 +11,7 @@ notes for it.
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
release_notes_4_22
|
||||
release_notes_4_21
|
||||
release_notes_4_20
|
||||
release_notes_4_19
|
||||
|
20
docs/en_US/release_notes_4_22.rst
Normal file
20
docs/en_US/release_notes_4_22.rst
Normal file
@ -0,0 +1,20 @@
|
||||
************
|
||||
Version 4.22
|
||||
************
|
||||
|
||||
Release date: 2020-05-28
|
||||
|
||||
This release contains a number of bug fixes and new features since the release of pgAdmin4 4.21.
|
||||
|
||||
New features
|
||||
************
|
||||
|
||||
|
||||
Housekeeping
|
||||
************
|
||||
|
||||
|
||||
Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #5422 <https://redmine.postgresql.org/issues/5422>`_ - Ensure that the dependencies tab shows correct information for Synonyms.
|
@ -712,9 +712,7 @@ class SynonymView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
scid: Schema ID
|
||||
syid: Synonym ID
|
||||
"""
|
||||
dependents_result = self.get_dependents(
|
||||
self.conn, syid, where="WHERE dep.objid=0::oid"
|
||||
)
|
||||
dependents_result = self.get_dependents(self.conn, syid)
|
||||
|
||||
return ajax_response(
|
||||
response=dependents_result,
|
||||
@ -734,9 +732,7 @@ class SynonymView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
scid: Schema ID
|
||||
syid: Synonym ID
|
||||
"""
|
||||
dependencies_result = self.get_dependencies(
|
||||
self.conn, syid, where="WHERE dep.objid=0::oid"
|
||||
)
|
||||
dependencies_result = self.get_dependencies(self.conn, syid)
|
||||
|
||||
return ajax_response(
|
||||
response=dependencies_result,
|
||||
|
Loading…
Reference in New Issue
Block a user