pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Mark some contrib modules as "trusted".
Date: Thu, 13 Feb 2020 20:02:46 +0000
Message-ID: <E1j2KhC-0002CX-Uc@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1j2KhC-0002CX-Uc@gemulon.postgresql.org>
Permalink:  ../E1j2KhC-0002CX-Uc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1j2KhC-0002CX-Uc@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Mark some contrib modules as "trusted".
  In-Reply-To: <E1j2KhC-0002CX-Uc@gemulon.postgresql.org>
  References: <E1j2KhC-0002CX-Uc@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox