mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Don't show system catalogs in the schemas property list unless show system objects is enabled. Fixes #3842
This commit is contained in:
@@ -14,4 +14,5 @@ Features
|
|||||||
Bug fixes
|
Bug fixes
|
||||||
*********
|
*********
|
||||||
|
|
||||||
|
| `Bug #3842 <https://redmine.postgresql.org/issues/3842>`_ - Don't show system catalogs in the schemas property list unless show system objects is enabled.
|
||||||
| `Bug #3861 <https://redmine.postgresql.org/issues/3861>`_ - Fix help for the backup/restore dialogues.
|
| `Bug #3861 <https://redmine.postgresql.org/issues/3861>`_ - Fix help for the backup/restore dialogues.
|
||||||
|
|||||||
@@ -29,9 +29,8 @@ WHERE
|
|||||||
{% if scid %}
|
{% if scid %}
|
||||||
nsp.oid={{scid}}::oid AND
|
nsp.oid={{scid}}::oid AND
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if show_sysobj %}
|
{% if not show_sysobj %}
|
||||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
nspname NOT LIKE E'pg\\_%' AND
|
||||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
NOT (
|
NOT (
|
||||||
|
|||||||
@@ -46,9 +46,8 @@ WHERE
|
|||||||
{% if scid %}
|
{% if scid %}
|
||||||
nsp.oid={{scid}}::oid AND
|
nsp.oid={{scid}}::oid AND
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if show_sysobj %}
|
{% if not show_sysobj %}
|
||||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
nspname NOT LIKE E'pg\\_%' AND
|
||||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
NOT (
|
NOT (
|
||||||
|
|||||||
@@ -40,9 +40,8 @@ WHERE
|
|||||||
{% if scid %}
|
{% if scid %}
|
||||||
nsp.oid={{scid}}::oid AND
|
nsp.oid={{scid}}::oid AND
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if show_sysobj %}
|
{% if not show_sysobj %}
|
||||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
nspname NOT LIKE E'pg\\_%' AND
|
||||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
NOT (
|
NOT (
|
||||||
|
|||||||
@@ -39,9 +39,8 @@ WHERE
|
|||||||
{% if scid %}
|
{% if scid %}
|
||||||
nsp.oid={{scid}}::oid AND
|
nsp.oid={{scid}}::oid AND
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if show_sysobj %}
|
{% if not show_sysobj %}
|
||||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
nspname NOT LIKE E'pg\\_%' AND
|
||||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
nsp.nspparent = 0 AND
|
nsp.nspparent = 0 AND
|
||||||
|
|||||||
@@ -46,9 +46,8 @@ WHERE
|
|||||||
{% if scid %}
|
{% if scid %}
|
||||||
nsp.oid={{scid}}::oid AND
|
nsp.oid={{scid}}::oid AND
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if show_sysobj %}
|
{% if not show_sysobj %}
|
||||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
nspname NOT LIKE E'pg\\_%' AND
|
||||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
nsp.nspparent = 0 AND
|
nsp.nspparent = 0 AND
|
||||||
|
|||||||
Reference in New Issue
Block a user