RE: PG13 Trusted Extension usability issue

Поиск
Список
Период
Сортировка
От Brad Nicholson
Тема RE: PG13 Trusted Extension usability issue
Дата
Msg-id OF33B3FA0B.8B6C3183-ON85258593.00686C7F-85258593.0068B8E1@notes.na.collabserv.com
обсуждение исходный текст
Ответ на Re: PG13 Trusted Extension usability issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PG13 Trusted Extension usability issue
Re: PG13 Trusted Extension usability issue
Список pgsql-general

Tom Lane <tgl@sss.pgh.pa.us> wrote on 2020/06/26 02:47:25 PM:

> From: Tom Lane <tgl@sss.pgh.pa.us>

> To: "Brad Nicholson" <bradn@ca.ibm.com>
> Cc: pgsql-general@lists.postgresql.org
> Date: 2020/06/26 02:51 PM
> Subject: [EXTERNAL] Re: PG13 Trusted Extension usability issue
>
> "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.


Ah - I misread the docs.  Specifically I read this:

"For many extensions this means superuser privileges are needed. However, if the extension is marked trusted in its control file, then it can be installed by any user who has CREATE privilege on the current database"

To mean that you could mark any extension as trusted in the control file to allow non-superuser installation.

Thanks,
Brad

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Interpreting autovacuum logs (9.6)
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: PG13 Trusted Extension usability issue