@@ -45,11 +45,6 @@ CREATE EXTENSION [ IF NOT EXISTS ] <replaceable class="parameter">extension_name
45
45
<command>DROP EXTENSION</command> is issued.
46
46
</para>
47
47
48
- <para>
49
- For information about writing new extensions, see
50
- <xref linkend="extend-extensions">.
51
- </para>
52
-
53
48
<para>
54
49
Loading an extension requires the same privileges that would be
55
50
required to create its component objects. For most extensions this
@@ -72,7 +67,7 @@ CREATE EXTENSION [ IF NOT EXISTS ] <replaceable class="parameter">extension_name
72
67
Do not throw an error if an extension with the same name already
73
68
exists. A notice is issued in this case. Note that there is no
74
69
guarantee that the existing extension is anything like the one that
75
- would have been created.
70
+ would have been created from the currently-available script file .
76
71
</para>
77
72
</listitem>
78
73
</varlistentry>
@@ -142,6 +137,31 @@ CREATE EXTENSION [ IF NOT EXISTS ] <replaceable class="parameter">extension_name
142
137
</variablelist>
143
138
</refsect1>
144
139
140
+ <refsect1>
141
+ <title>Notes</title>
142
+
143
+ <para>
144
+ Before you can use <command>CREATE EXTENSION</> to load an extension
145
+ into a database, the extension's supporting files must be installed.
146
+ Information about installing the extensions supplied with
147
+ <productname>PostgreSQL</productname> can be found in
148
+ <link linkend="contrib">Additional Supplied Modules</link>.
149
+ </para>
150
+
151
+ <para>
152
+ The extensions currently available for loading can be identified from the
153
+ <link linkend="view-pg-available-extensions"><structname>pg_available_extensions</structname></link>
154
+ or
155
+ <link linkend="view-pg-available-extension-versions"><structname>pg_available_extension_versions</structname></link>
156
+ system views.
157
+ </para>
158
+
159
+ <para>
160
+ For information about writing new extensions, see
161
+ <xref linkend="extend-extensions">.
162
+ </para>
163
+ </refsect1>
164
+
145
165
<refsect1>
146
166
<title>Examples</title>
147
167
0 commit comments