From eb67623c965b4759a96309cdb58a17339fc5d401 Mon Sep 17 00:00:00 2001
From: Tom Lane
Date: Thu, 13 Feb 2020 15:02:35 -0500
Subject: Mark some contrib modules as "trusted".
This allows these modules to be installed into a database without
superuser privileges (assuming that the DBA or sysadmin has installed
the module's files in the expected place). You only need CREATE
privilege on the current database, which by default would be
available to the database owner.
The following modules are marked trusted:
btree_gin
btree_gist
citext
cube
dict_int
earthdistance
fuzzystrmatch
hstore
hstore_plperl
intarray
isn
jsonb_plperl
lo
ltree
pg_trgm
pgcrypto
seg
tablefunc
tcn
tsm_system_rows
tsm_system_time
unaccent
uuid-ossp
In the future we might mark some more modules trusted, but there
seems to be no debate about these, and on the whole it seems wise
to be conservative with use of this feature to start out with.
Discussion: https://postgr.es/m/32315.1580326876@sss.pgh.pa.us
---
doc/src/sgml/btree-gist.sgml | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'doc/src/sgml/btree-gist.sgml')
diff --git a/doc/src/sgml/btree-gist.sgml b/doc/src/sgml/btree-gist.sgml
index 774442feeee..3b61d276a38 100644
--- a/doc/src/sgml/btree-gist.sgml
+++ b/doc/src/sgml/btree-gist.sgml
@@ -52,6 +52,12 @@
oid, and money.
+
+ This module is considered trusted
, that is, it can be
+ installed by non-superusers who have CREATE privilege
+ on the current database.
+
+
Example Usage
--
cgit v1.2.3