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