Fix filtering of system schemas so pg_* is hidden but pg* is not. Fixes #2709

This commit is contained in:
Murtuza Zabuawala
2017-09-15 13:50:06 +01:00
committed by Dave Page
parent 55e14e4d78
commit 9cfb2f3cbe
19 changed files with 25 additions and 25 deletions

View File

@@ -10,7 +10,7 @@ WHERE
nsp.oid={{nspid}}::oid AND
{% else %}
{% if not show_sysobj %}
nspname NOT LIKE E'pg\_%' AND
nspname NOT LIKE 'pg\_%' AND
{% endif %}
{% endif %}
NOT (

View File

@@ -11,7 +11,7 @@ WHERE
nsp.oid={{nspid}}::oid AND
{% else %}
{% if not show_sysobj %}
nspname NOT LIKE E'pg\_%' AND
nspname NOT LIKE 'pg\_%' AND
{% endif %}
{% endif %}
NOT (