Modified EPAS templates to support schema restriction.

This commit is contained in:
Murtuza Zabuawala 2020-07-03 18:42:17 +05:30 committed by Akshay Joshi
parent 0d92059155
commit cb1cdd1b23
4 changed files with 16 additions and 0 deletions

View File

@ -18,4 +18,8 @@ WHERE
NOT (
{{ CATALOGS.LIST('nsp') }}
)
{% if schema_restrictions %}
AND
nsp.nspname in ({{schema_restrictions}})
{% endif %}
ORDER BY nspname;

View File

@ -44,4 +44,8 @@ WHERE
NOT (
{{ CATALOGS.LIST('nsp') }}
)
{% if schema_restrictions %}
AND
nsp.nspname in ({{schema_restrictions}})
{% endif %}
ORDER BY 1, nspname;

View File

@ -18,4 +18,8 @@ WHERE
NOT (
{{ CATALOGS.LIST('nsp') }}
)
{% if schema_restrictions %}
AND
nsp.nspname in ({{schema_restrictions}})
{% endif %}
ORDER BY nspname;

View File

@ -51,4 +51,8 @@ WHERE
NOT (
{{ CATALOGS.LIST('nsp') }}
)
{% if schema_restrictions %}
AND
nsp.nspname in ({{schema_restrictions}})
{% endif %}
ORDER BY 1, nspname;