mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Fix an issue where refreshing a package results in the change in the object completely. Fixes #5066.
This commit is contained in:
parent
e2bfac9e42
commit
af56b92af4
@ -26,4 +26,5 @@ Bug fixes
|
||||
| `Issue #4827 <https://redmine.postgresql.org/issues/4827>`_ - Fix column resizable issue in the file explorer dialog.
|
||||
| `Issue #5000 <https://redmine.postgresql.org/issues/5000>`_ - Logout the pgAdmin session when no user activity of mouse move, click or keypress.
|
||||
| `Issue #5025 <https://redmine.postgresql.org/issues/5025>`_ - Fix an issue where setting STORAGE_DIR to empty should show all the volumes on Windows in server mode.
|
||||
| `Issue #5066 <https://redmine.postgresql.org/issues/5066>`_ - Fix an issue where refreshing a package results in the change in the object completely.
|
||||
| `Issue #5074 <https://redmine.postgresql.org/issues/5074>`_ - Fix an issue where select, insert and update scripts on tables throwing an error.
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user