mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 15:26:46 -06:00
7 lines
207 B
SQL
7 lines
207 B
SQL
{# SQL query for getting current_schemas #}
|
|
{% if search_path %}
|
|
SELECT * FROM unnest(current_schemas(true)) AS schema
|
|
{% else %}
|
|
SELECT nspname AS schema FROM pg_catalog.pg_namespace ORDER BY 1
|
|
{% endif %}
|