Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit b594b91

Browse files
author
Taras Kopets
committed
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.
1 parent d1345e0 commit b594b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SQLTools.sublime-settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
"options": ["--tuples-only", "--no-psqlrc"]
161161
},
162162
"functions": {
163-
"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');",
163+
"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');",
164164
"options": ["--tuples-only", "--no-psqlrc"]
165165
}
166166
}

0 commit comments

Comments
 (0)