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
Copy file name to clipboardExpand all lines: docs/reference/datamodel/extensions.rst
+24-26Lines changed: 24 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,40 +53,44 @@ Standalone extensions
53
53
54
54
.. api-index:: postgis
55
55
56
-
Additionally, standalone extension packages can be installed on local project-managed instances via the CLI, with ``postgis`` being a notable example.
56
+
Unlike the built-in extensions, standalone extensions must be installed on the instance before they can be used in your instance's branches schemas. The manner in which you install these extensions will depend on whether you are using a local, remote instance, or are using |Gel| Cloud.
57
57
58
-
List installed extensions:
58
+
Once you've installed them, standalone extensions can be declared in the schema, same as built-in extensions:
59
+
60
+
.. code-block:: sdl
61
+
62
+
using extension postgis;
63
+
64
+
.. note::
65
+
66
+
To restore a dump that uses a standalone extension, that extension must be installed before the restore process.
67
+
68
+
69
+
Gel Cloud
70
+
---------
71
+
72
+
If you are using |Gel| Cloud, standalone extentions...
73
+
74
+
Local instances
75
+
---------------
76
+
77
+
Additionally, standalone extension packages can be installed on local project-managed instances via the CLI :gelcmd:`extension` command group, with ``postgis`` being a notable example.
59
78
60
79
.. code-block:: bash
61
80
62
81
$ gel extension list
63
82
┌─────────┬─────────┐
64
83
│ Name │ Version │
65
84
└─────────┴─────────┘
66
-
67
-
List available extensions:
68
-
69
-
.. code-block:: bash
70
-
71
85
$ gel extension list-available
72
86
┌─────────┬───────────────┐
73
87
│ Name │ Version │
74
88
│ postgis │ 3.4.3+6b82d77 │
75
89
└─────────┴───────────────┘
76
-
77
-
Install the ``postgis`` extension:
78
-
79
-
.. code-block:: bash
80
-
81
90
$ gel extension install postgis
82
91
Found extension package: postgis version 3.4.3+6b82d77
0 commit comments