@@ -25,90 +25,6 @@ SELECT * FROM pg_get_functiondef(1, 2, 3);
2525 |
2626(3 rows)
2727
28- SELECT pg_get_functiondef('sum');
29- pg_get_functiondef
30- -------------------------------------------------------
31- (sum,"/* Not support aggregate function, oid: 2107 */+
32- /* Not support aggregate function, oid: 2109 */ +
33- /* Not support aggregate function, oid: 2108 */ +
34- /* Not support aggregate function, oid: 2110 */ +
35- /* Not support aggregate function, oid: 2111 */ +
36- /* Not support aggregate function, oid: 2112 */ +
37- /* Not support aggregate function, oid: 2113 */ +
38- /* Not support aggregate function, oid: 2114 */ +
39- /* Not support aggregate function, oid: 16133 */ +
40- ")
41- (1 row)
42-
43- SELECT * FROM pg_get_functiondef('sum');
44- name | pg_get_functiondef
45- ------+--------------------------------------------------
46- sum | /* Not support aggregate function, oid: 2107 */ +
47- | /* Not support aggregate function, oid: 2109 */ +
48- | /* Not support aggregate function, oid: 2108 */ +
49- | /* Not support aggregate function, oid: 2110 */ +
50- | /* Not support aggregate function, oid: 2111 */ +
51- | /* Not support aggregate function, oid: 2112 */ +
52- | /* Not support aggregate function, oid: 2113 */ +
53- | /* Not support aggregate function, oid: 2114 */ +
54- | /* Not support aggregate function, oid: 16133 */+
55- |
56- (1 row)
57-
58- SELECT pg_get_functiondef('pg_get_functiondef');
59- pg_get_functiondef
60- ---------------------------------------------------------------------------
61- (pg_get_functiondef,"/* oid: 16702 */ +
62- CREATE OR REPLACE FUNCTION public.pg_get_functiondef() +
63- RETURNS cstring +
64- LANGUAGE c +
65- AS 'pg_get_functiondef', $function$pg_get_functiondef_no_input$function$ +
66- /* oid: 2098 */ +
67- CREATE OR REPLACE FUNCTION pg_catalog.pg_get_functiondef(oid) +
68- RETURNS text +
69- LANGUAGE internal +
70- STABLE PARALLEL SAFE STRICT +
71- AS $function$pg_get_functiondef$function$ +
72- /* oid: 16704 */ +
73- CREATE OR REPLACE FUNCTION public.pg_get_functiondef(VARIADIC text[]) +
74- RETURNS TABLE(name cstring, pg_get_functiondef cstring) +
75- LANGUAGE c +
76- AS 'pg_get_functiondef', $function$pg_get_functiondef_extend$function$ +
77- /* oid: 16703 */ +
78- CREATE OR REPLACE FUNCTION public.pg_get_functiondef(oid, VARIADIC oid[])+
79- RETURNS TABLE(oid oid, pg_get_functiondef cstring) +
80- LANGUAGE c +
81- AS 'pg_get_functiondef', $function$pg_get_functiondef_mul$function$ +
82- ")
83- (1 row)
84-
85- SELECT * FROM pg_get_functiondef('pg_get_functiondef');
86- name | pg_get_functiondef
87- --------------------+---------------------------------------------------------------------------
88- pg_get_functiondef | /* oid: 16702 */ +
89- | CREATE OR REPLACE FUNCTION public.pg_get_functiondef() +
90- | RETURNS cstring +
91- | LANGUAGE c +
92- | AS 'pg_get_functiondef', $function$pg_get_functiondef_no_input$function$ +
93- | /* oid: 2098 */ +
94- | CREATE OR REPLACE FUNCTION pg_catalog.pg_get_functiondef(oid) +
95- | RETURNS text +
96- | LANGUAGE internal +
97- | STABLE PARALLEL SAFE STRICT +
98- | AS $function$pg_get_functiondef$function$ +
99- | /* oid: 16704 */ +
100- | CREATE OR REPLACE FUNCTION public.pg_get_functiondef(VARIADIC text[]) +
101- | RETURNS TABLE(name cstring, pg_get_functiondef cstring) +
102- | LANGUAGE c +
103- | AS 'pg_get_functiondef', $function$pg_get_functiondef_extend$function$ +
104- | /* oid: 16703 */ +
105- | CREATE OR REPLACE FUNCTION public.pg_get_functiondef(oid, VARIADIC oid[])+
106- | RETURNS TABLE(oid oid, pg_get_functiondef cstring) +
107- | LANGUAGE c +
108- | AS 'pg_get_functiondef', $function$pg_get_functiondef_mul$function$ +
109- |
110- (1 row)
111-
11228SELECT pg_get_functiondef('char_length', 'substring');
11329 pg_get_functiondef
11430------------------------------------------------------------------------------
@@ -176,70 +92,4 @@ SELECT pg_get_functiondef('char_length', 'substring');
17692 ")
17793(2 rows)
17894
179- SELECT * FROM pg_get_functiondef('char_length', 'substring');
180- name | pg_get_functiondef
181- -------------+----------------------------------------------------------------------------
182- char_length | /* oid: 1381 */ +
183- | CREATE OR REPLACE FUNCTION pg_catalog.char_length(text) +
184- | RETURNS integer +
185- | LANGUAGE internal +
186- | IMMUTABLE PARALLEL SAFE STRICT +
187- | AS $function$textlen$function$ +
188- | /* oid: 1372 */ +
189- | CREATE OR REPLACE FUNCTION pg_catalog.char_length(character) +
190- | RETURNS integer +
191- | LANGUAGE internal +
192- | IMMUTABLE PARALLEL SAFE STRICT +
193- | AS $function$bpcharlen$function$ +
194- |
195- substring | /* oid: 2013 */ +
196- | CREATE OR REPLACE FUNCTION pg_catalog."substring"(bytea, integer) +
197- | RETURNS bytea +
198- | LANGUAGE internal +
199- | IMMUTABLE PARALLEL SAFE STRICT +
200- | AS $function$bytea_substr_no_len$function$ +
201- | /* oid: 937 */ +
202- | CREATE OR REPLACE FUNCTION pg_catalog."substring"(text, integer) +
203- | RETURNS text +
204- | LANGUAGE internal +
205- | IMMUTABLE PARALLEL SAFE STRICT +
206- | AS $function$text_substr_no_len$function$ +
207- | /* oid: 2073 */ +
208- | CREATE OR REPLACE FUNCTION pg_catalog."substring"(text, text) +
209- | RETURNS text +
210- | LANGUAGE internal +
211- | IMMUTABLE PARALLEL SAFE STRICT +
212- | AS $function$textregexsubstr$function$ +
213- | /* oid: 1699 */ +
214- | CREATE OR REPLACE FUNCTION pg_catalog."substring"(bit, integer) +
215- | RETURNS bit +
216- | LANGUAGE internal +
217- | IMMUTABLE PARALLEL SAFE STRICT +
218- | AS $function$bitsubstr_no_len$function$ +
219- | /* oid: 2012 */ +
220- | CREATE OR REPLACE FUNCTION pg_catalog."substring"(bytea, integer, integer)+
221- | RETURNS bytea +
222- | LANGUAGE internal +
223- | IMMUTABLE PARALLEL SAFE STRICT +
224- | AS $function$bytea_substr$function$ +
225- | /* oid: 936 */ +
226- | CREATE OR REPLACE FUNCTION pg_catalog."substring"(text, integer, integer) +
227- | RETURNS text +
228- | LANGUAGE internal +
229- | IMMUTABLE PARALLEL SAFE STRICT +
230- | AS $function$text_substr$function$ +
231- | /* oid: 2074 */ +
232- | CREATE OR REPLACE FUNCTION pg_catalog."substring"(text, text, text) +
233- | RETURNS text +
234- | LANGUAGE sql +
235- | IMMUTABLE PARALLEL SAFE STRICT COST 1 +
236- | RETURN "substring"($1, similar_to_escape($2, $3)) +
237- | /* oid: 1680 */ +
238- | CREATE OR REPLACE FUNCTION pg_catalog."substring"(bit, integer, integer) +
239- | RETURNS bit +
240- | LANGUAGE internal +
241- | IMMUTABLE PARALLEL SAFE STRICT +
242- | AS $function$bitsubstr$function$ +
243- |
244- (2 rows)
245- DROP EXTENSION pg_get_functiondef;
95+ DROP EXTENSION pg_get_functiondef;
0 commit comments