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
### `pgtle.install_extension(name text, version text, description text, ext text, requires text[] DEFAULT NULL::text[], schema text DEFAULT NULL)`
113
118
114
119
`install_extension` lets users install a `pg_tle`-compatible extensions and make them available within a database.
115
120
@@ -126,6 +131,7 @@ This functions returns `'OK'` on success and an error otherwise..
126
131
*`description`: A detailed description about the extension. This is displayed in the `comment` field in `pgtle.available_extensions()`.
127
132
*`ext`: The contents of the extension. This contains objects such as functions.
128
133
*`requires`: An optional parameter that specifies dependencies for this extension. `pg_tle` is automatically added as a dependency.
134
+
*`schema`: An optional parameter that specifies the schema that the extension must be installed in.
129
135
130
136
Many of the above values are part of the [extension control file](https://www.postgresql.org/docs/current/extend-extensions.html#id-1.8.3.20.11) used to provide information about how to install a PostgreSQL extension. For more information about how each of these values work, please see the PostgreSQL documentation on [extension control files](https://www.postgresql.org/docs/current/extend-extensions.html#id-1.8.3.20.11).
0 commit comments