summaryrefslogtreecommitdiff
path: root/contrib/unaccent
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/unaccent
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/unaccent')
-rw-r--r--contrib/unaccent/unaccent.control1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/unaccent/unaccent.control b/contrib/unaccent/unaccent.control
index a77a65f891..649cf68a6e 100644
--- a/contrib/unaccent/unaccent.control
+++ b/contrib/unaccent/unaccent.control
@@ -3,3 +3,4 @@ comment = 'text search dictionary that removes accents'
default_version = '1.1'
module_pathname = '$libdir/unaccent'
relocatable = true
+trusted = true