From b594b9191da8b8e265ab83d66fe626ef17c0255a Mon Sep 17 00:00:00 2001 From: Taras Kopets Date: Thu, 21 Mar 2019 13:24:22 +0200 Subject: [PATCH] Fix compatibility issue with PostgreSQL v11 (func) The old query was not compatible with the most recent PostgreSQL v11. The new query, unlike the old one will also additionally return the custom aggregate functions. --- SQLTools.sublime-settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQLTools.sublime-settings b/SQLTools.sublime-settings index 44d5bd7..db4bb76 100644 --- a/SQLTools.sublime-settings +++ b/SQLTools.sublime-settings @@ -160,7 +160,7 @@ "options": ["--tuples-only", "--no-psqlrc"] }, "functions": { - "query": "select quote_ident(n.nspname) || '.' || quote_ident(f.proname) || '(' || pg_get_function_identity_arguments(f.oid) || ')' as funname from pg_catalog.pg_proc as f inner join pg_catalog.pg_namespace as n on n.oid = f.pronamespace where f.proisagg = false and n.nspname not in ('pg_catalog', 'information_schema');", + "query": "select quote_ident(n.nspname) || '.' || quote_ident(f.proname) || '(' || pg_get_function_identity_arguments(f.oid) || ')' as funname from pg_catalog.pg_proc as f inner join pg_catalog.pg_namespace as n on n.oid = f.pronamespace where n.nspname not in ('pg_catalog', 'information_schema');", "options": ["--tuples-only", "--no-psqlrc"] } }