pgadmin4/web/pgadmin/misc/templates/sqlautocomplete/sql/9.1_plus/schema.sql
Akshay Joshi 0a354055a9 Adding support for autocomplete in the SQL Editor.
In Query editor, we can use the autocomplete feature by using keyword
combination - 'Ctrl + Space'.
2016-05-21 16:04:29 +05:30

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 %}