pg_proc #The catalog pg_proc stores information about functions, procedures, aggregate functions, and window functions (collectively also known as routines). See CREATE FUNCTION, CREATE PROCEDURE, and Section 36.3 for more information.
If prokind indicates that the entry is for an aggregate function, there should be a matching row in pg_aggregate.
Table 51.39. pg_proc Columns
|
Column Type Description |
|---|
|
Row identifier |
|
Name of the function |
|
The OID of the namespace that contains this function |
|
Owner of the function |
|
Implementation language or call interface of this function |
|
Estimated execution cost (in units of cpu_operator_cost); if |
|
Estimated number of result rows (zero if not |
|
Data type of the variadic array parameter's elements, or zero if the function does not have a variadic parameter |
|
Planner support function for this function (see Section 36.11), or zero if none |
|
|
|
Function is a security definer (i.e., a “setuid” function) |
|
The function has no side effects. No information about the arguments is conveyed except via the return value. Any function that might throw an error depending on the values of its arguments is not leak-proof. |
|
|