mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 09:16:29 -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:
parent
868622912e
commit
01b87d4834
@ -14,4 +14,5 @@ Features
|
||||
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.
|
||||
|
@ -29,9 +29,8 @@ WHERE
|
||||
{% if scid %}
|
||||
nsp.oid={{scid}}::oid AND
|
||||
{% else %}
|
||||
{% if show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
||||
{% if not show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_%' AND
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
NOT (
|
||||
|
@ -46,9 +46,8 @@ WHERE
|
||||
{% if scid %}
|
||||
nsp.oid={{scid}}::oid AND
|
||||
{% else %}
|
||||
{% if show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
||||
{% if not show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_%' AND
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
NOT (
|
||||
|
@ -40,9 +40,8 @@ WHERE
|
||||
{% if scid %}
|
||||
nsp.oid={{scid}}::oid AND
|
||||
{% else %}
|
||||
{% if show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
||||
{% if not show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_%' AND
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
NOT (
|
||||
|
@ -39,9 +39,8 @@ WHERE
|
||||
{% if scid %}
|
||||
nsp.oid={{scid}}::oid AND
|
||||
{% else %}
|
||||
{% if show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
||||
{% if not show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_%' AND
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
nsp.nspparent = 0 AND
|
||||
|
@ -46,9 +46,8 @@ WHERE
|
||||
{% if scid %}
|
||||
nsp.oid={{scid}}::oid AND
|
||||
{% else %}
|
||||
{% if show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_temp\\_%' AND
|
||||
nspname NOT LIKE E'pg\\_toast\\_temp\\_%' AND
|
||||
{% if not show_sysobj %}
|
||||
nspname NOT LIKE E'pg\\_%' AND
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
nsp.nspparent = 0 AND
|
||||
|
Loading…
Reference in New Issue
Block a user