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:
@@ -26,4 +26,5 @@ Bug fixes
|
|||||||
| `Issue #4827 <https://redmine.postgresql.org/issues/4827>`_ - Fix column resizable issue in the file explorer dialog.
|
| `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 #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 #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.
|
| `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
|
FROM
|
||||||
pg_namespace nsp
|
pg_namespace nsp
|
||||||
WHERE nspparent = {{scid}}::oid
|
WHERE nspparent = {{scid}}::oid
|
||||||
|
{% if pkgid %}
|
||||||
|
AND nsp.oid = {{pkgid}}::oid
|
||||||
|
{% endif %}
|
||||||
ORDER BY nspname;
|
ORDER BY nspname;
|
||||||
@@ -1,5 +1,10 @@
|
|||||||
SELECT nsp.oid, nspname AS name
|
SELECT
|
||||||
FROM pg_namespace nsp
|
nsp.oid, nspname AS name
|
||||||
|
FROM
|
||||||
|
pg_namespace nsp
|
||||||
WHERE nspparent = {{scid}}::oid
|
WHERE nspparent = {{scid}}::oid
|
||||||
|
{% if pkgid %}
|
||||||
|
AND nsp.oid = {{pkgid}}::oid
|
||||||
|
{% endif %}
|
||||||
AND nspobjecttype = 0
|
AND nspobjecttype = 0
|
||||||
ORDER BY nspname;
|
ORDER BY nspname;
|
||||||
Reference in New Issue
Block a user