pgsql: Mark some contrib modules as "trusted".

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Mark some contrib modules as "trusted".
Date: 2020-02-13 20:02:46
Message-ID: E1j2KhC-0002CX-Uc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eb67623c965b4759a96309cdb58a17339fc5d401

Modified Files
--------------
contrib/btree_gin/btree_gin.control | 1 +
contrib/btree_gist/btree_gist.control | 1 +
contrib/citext/citext.control | 1 +
contrib/cube/cube.control | 1 +
contrib/dict_int/dict_int.control | 1 +
contrib/earthdistance/earthdistance.control | 1 +
contrib/fuzzystrmatch/fuzzystrmatch.control | 1 +
contrib/hstore/hstore.control | 1 +
contrib/hstore_plperl/hstore_plperl.control | 1 +
contrib/intarray/intarray.control | 1 +
contrib/isn/isn.control | 1 +
contrib/jsonb_plperl/jsonb_plperl.control | 1 +
contrib/lo/lo.control | 1 +
contrib/ltree/ltree.control | 1 +
contrib/pg_trgm/pg_trgm.control | 1 +
contrib/pgcrypto/pgcrypto.control | 1 +
contrib/seg/seg.control | 1 +
contrib/tablefunc/tablefunc.control | 1 +
contrib/tcn/tcn.control | 1 +
contrib/tsm_system_rows/tsm_system_rows.control | 1 +
contrib/tsm_system_time/tsm_system_time.control | 1 +
contrib/unaccent/unaccent.control | 1 +
contrib/uuid-ossp/uuid-ossp.control | 1 +
doc/src/sgml/btree-gin.sgml | 6 ++++++
doc/src/sgml/btree-gist.sgml | 6 ++++++
doc/src/sgml/citext.sgml | 6 ++++++
doc/src/sgml/contrib.sgml | 17 +++++++++++++----
doc/src/sgml/cube.sgml | 6 ++++++
doc/src/sgml/dict-int.sgml | 6 ++++++
doc/src/sgml/earthdistance.sgml | 6 ++++++
doc/src/sgml/fuzzystrmatch.sgml | 6 ++++++
doc/src/sgml/hstore.sgml | 11 +++++++++++
doc/src/sgml/intarray.sgml | 6 ++++++
doc/src/sgml/isn.sgml | 6 ++++++
doc/src/sgml/json.sgml | 7 +++++++
doc/src/sgml/lo.sgml | 6 ++++++
doc/src/sgml/ltree.sgml | 6 ++++++
doc/src/sgml/pgcrypto.sgml | 6 ++++++
doc/src/sgml/pgtrgm.sgml | 6 ++++++
doc/src/sgml/seg.sgml | 6 ++++++
doc/src/sgml/tablefunc.sgml | 6 ++++++
doc/src/sgml/tcn.sgml | 6 ++++++
doc/src/sgml/tsm-system-rows.sgml | 6 ++++++
doc/src/sgml/tsm-system-time.sgml | 6 ++++++
doc/src/sgml/unaccent.sgml | 6 ++++++
doc/src/sgml/uuid-ossp.sgml | 6 ++++++
46 files changed, 174 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-02-14 03:39:32 pgsql: Remove some dead code in contrib/adminpack/
Previous Message Jeff Davis 2020-02-13 18:45:38 pgsql: Logical Tape Set: lazily allocate read buffer.