From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brad Nicholson <bradn@ca.ibm.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: PG13 Trusted Extension usability issue
Date: Fri, 26 Jun 2020 14:47:25 -0400
Message-ID: <24570.1593197245@sss.pgh.pa.us> (raw)
In-Reply-To: <OFB5509780.71BADB86-ON85258593.006417C0-85258593.00652490@notes.na.collabserv.com>
References: <OFB5509780.71BADB86-ON85258593.006417C0-85258593.00652490@notes.na.collabserv.com>
"Brad Nicholson" <bradn@ca.ibm.com> writes:
> First, as a long time user of the pgextwlist extension, I'm happy to see
> this functionality appearing in core. However, as a long term user of that
> extension, I can say that ability to create an extension as a non-super
> user is pretty limited in itself in a lot of cases. Many extensions both
> in contrib and external ones (like PostGIS for example) don't give
> appropriate permissions to actually use the extension.
> Taking postgresql_fdw as an example.
I'm confused about your point here. postgresql_fdw has intentionally
*not* been marked trusted. That's partly because it doesn't seem like
outside-the-database access is something we want to allow by default,
but it's also the case that there are inside-the-database permissions
issues. So no, we have not solved those, but that is not a shortcoming
of the trusted-extensions feature AFAICS. It is not the intent of
that feature that you can randomly mark unsafe extensions as trusted
and have every one of their permissions safety-checks vanish.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, bradn@ca.ibm.com
Subject: Re: PG13 Trusted Extension usability issue
In-Reply-To: <24570.1593197245@sss.pgh.pa.us>
References: <OFB5509780.71BADB86-ON85258593.006417C0-85258593.00652490@notes.na.collabserv.com> <24570.1593197245@sss.pgh.pa.us>
* 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