Skip to content

Commit

Permalink
Fix compatibility issue with PostgreSQL v11 (func)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Taras Kopets committed Mar 21, 2019
1 parent d1345e0 commit b594b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQLTools.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
Expand Down

0 comments on commit b594b91

Please sign in to comment.