From 1a33490c1ec8fe85b7a117907d6b1ab791eca2c2 Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 22 Aug 2023 09:02:52 +0800 Subject: [PATCH] Update martin/src/pg/scripts/query_available_function.sql Co-authored-by: Yuri Astrakhan --- martin/src/pg/scripts/query_available_function.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/martin/src/pg/scripts/query_available_function.sql b/martin/src/pg/scripts/query_available_function.sql index c68c4d5bf..6811d02d1 100755 --- a/martin/src/pg/scripts/query_available_function.sql +++ b/martin/src/pg/scripts/query_available_function.sql @@ -34,7 +34,7 @@ WITH inputs AS ( SELECT n.nspname AS schema, P.proname AS name, - obj_description ( P.oid ) AS description + obj_description(P.oid, 'pg_proc') AS description FROM pg_proc P JOIN pg_namespace n ON P.pronamespace = n.oid