Skip to content

Commit 43e8f12

Browse files
committed
Update instructions for extension updates
1 parent 4d96a37 commit 43e8f12

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

http/Resources/conclusion.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@
2727
<h1>Please restart the PostgreSQL server!</h1>
2828
<p>pgsql-http @EXTENSION_VERSION@ for PostgreSQL @PG_MAJOR_VERSION@ has been installed successfully.</p>
2929
<p>
30-
You must stop and restart your PostgreSQL server before using the extension.
31-
After restarting the server, you can enable the extension by running the SQL command <tt>CREATE EXTENSION http;</tt>
30+
If this is a new install, please stop and restart your PostgreSQL server before using the extension.
31+
After restarting the server, you can enable the extension in a database by running the SQL command <tt>CREATE EXTENSION http;</tt>
32+
</p>
33+
<p>
34+
If you are upgrading from a previous version of the extension, you do not need to restart the server.
35+
Please execute the command <tt>ALTER EXTENSION http UPDATE;</tt> instead. You need to run this command on every database that uses the extension.
3236
</p>
3337

3438
</body>

0 commit comments

Comments
 (0)