You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The name of the schema the function belongs to.
67
+
pubschema:String,
68
+
69
+
/// The name of the function.
70
+
pubname:String,
71
+
72
+
/// e.g. `plpgsql/sql` or `internal`.
73
+
publanguage:String,
74
+
75
+
/// The body of the function – the `declare [..] begin [..] end [..]` block.` Not set for internal functions.
76
+
pubbody:Option<String>,
77
+
78
+
/// The full definition of the function. Includes the full `CREATE OR REPLACE...` shenanigans. Not set for internal functions.
56
79
pubdefinition:Option<String>,
57
-
pubcomplete_statement:Option<String>,
80
+
81
+
/// The Rust representation of the function's arguments.
58
82
pubargs:FunctionArgs,
83
+
84
+
/// Comma-separated list of argument types, in the form required for a CREATE FUNCTION statement. For example, `"text, smallint"`. `None` if the function doesn't take any arguments.
59
85
pubargument_types:Option<String>,
86
+
87
+
/// Comma-separated list of argument types, in the form required to identify a function in an ALTER FUNCTION statement. For example, `"text, smallint"`. `None` if the function doesn't take any arguments.
60
88
pubidentity_argument_types:Option<String>,
61
-
pubreturn_type_id:Option<i64>,
62
-
pubreturn_type:Option<String>,
89
+
90
+
/// An ID identifying the return type. For example, `2275` refers to `cstring`. 2278 refers to `void`.
91
+
pubreturn_type_id:i64,
92
+
93
+
/// The return type, for example "text", "trigger", or "void".
94
+
pubreturn_type:String,
95
+
96
+
/// If the return type is a composite type, this will point the matching entry's `oid` column in the `pg_class` table. `None` if the function does not return a composite type.
63
97
pubreturn_type_relation_id:Option<i64>,
98
+
99
+
/// Does the function returns multiple values of a data type?
64
100
pubis_set_returning_function:bool,
101
+
102
+
/// See `Behavior`.
65
103
pubbehavior:Behavior,
104
+
105
+
/// Is the function's security set to `Definer` (true) or `Invoker` (false)?
66
106
pubsecurity_definer:bool,
67
107
}
68
108
@@ -73,48 +113,65 @@ impl SchemaCacheItem for Function {
0 commit comments