mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where refreshing a package results in the change in the object completely. Fixes #5066.
This commit is contained in:
@@ -3,4 +3,7 @@ SELECT
|
||||
FROM
|
||||
pg_namespace nsp
|
||||
WHERE nspparent = {{scid}}::oid
|
||||
ORDER BY nspname;
|
||||
{% if pkgid %}
|
||||
AND nsp.oid = {{pkgid}}::oid
|
||||
{% endif %}
|
||||
ORDER BY nspname;
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
SELECT nsp.oid, nspname AS name
|
||||
FROM pg_namespace nsp
|
||||
SELECT
|
||||
nsp.oid, nspname AS name
|
||||
FROM
|
||||
pg_namespace nsp
|
||||
WHERE nspparent = {{scid}}::oid
|
||||
{% if pkgid %}
|
||||
AND nsp.oid = {{pkgid}}::oid
|
||||
{% endif %}
|
||||
AND nspobjecttype = 0
|
||||
ORDER BY nspname;
|
||||
ORDER BY nspname;
|
||||
|
||||
Reference in New Issue
Block a user