Skip to content

Commit f3ed42c

Browse files
minusffelixxm
authored andcommitted
Refs #31615 -- Improved creating extension docs.
1 parent 73216aa commit f3ed42c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/ref/contrib/postgres/operations.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ For example::
3030
...
3131
]
3232

33-
Creating the extension requires a database user with superuser privileges.
34-
If the Django database user doesn't have superuser privileges, you'll have
35-
to create the extension outside of Django migrations with a user that has
36-
the appropriate privileges. In that case, connect to your Django database and
37-
run the query ``CREATE EXTENSION IF NOT EXISTS hstore;``.
33+
For most extensions, this requires a database user with superuser privileges.
34+
If the Django database user doesn't have the appropriate privileges, you'll
35+
have to create the extension outside of Django migrations with a user that has
36+
them. In that case, connect to your Django database and run the query
37+
``CREATE EXTENSION IF NOT EXISTS hstore;``.
3838

3939
.. currentmodule:: django.contrib.postgres.operations
4040

0 commit comments

Comments
 (0)