summaryrefslogtreecommitdiff
path: root/contrib/btree_gin
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-02-13 15:02:35 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-02-13 15:02:35 -0500
commiteb67623c965b4759a96309cdb58a17339fc5d401 (patch)
tree5601f3073155b20bf7a419b85257e16383a3c8a8 /contrib/btree_gin
parent7fdd919ae7550f478e7ae4031f7f439278cf2282 (diff)
downloadpostgresql-eb67623c965b4759a96309cdb58a17339fc5d401.tar.gz
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
Diffstat (limited to 'contrib/btree_gin')
-rw-r--r--contrib/btree_gin/btree_gin.control1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/btree_gin/btree_gin.control b/contrib/btree_gin/btree_gin.control
index d576da7fd0..67d0c997d8 100644
--- a/contrib/btree_gin/btree_gin.control
+++ b/contrib/btree_gin/btree_gin.control
@@ -3,3 +3,4 @@ comment = 'support for indexing common datatypes in GIN'
default_version = '1.3'
module_pathname = '$libdir/btree_gin'
relocatable = true
+trusted = true