Re: [HACKERS] postgres_fdw super user checks

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] postgres_fdw super user checks
Дата
Msg-id CA+TgmoY1-f_G9mjun-NCcPina47n+urHsDJL8HMWJxyoM7gcgQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] postgres_fdw super user checks  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] postgres_fdw super user checks  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Fri, Dec 1, 2017 at 12:31 AM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> I am moving this patch to next CF 2018-01.

There now seems to be a consensus for superuser -> superuser_arg
rather than what Jeff did originally; that approach has 4 votes and
nothing else has more than 1. So, here's a patch that does it that
way.

I tried to see if some documentation update was needed, but I think
the documentation already reflects the proposed new behavior.  It
says:

   <para>
    Only superusers may connect to foreign servers without password
    authentication, so always specify the <literal>password</literal> option
    for user mappings belonging to non-superusers.
   </para>

Currently, however, that's not accurate.  Right now you need to
specify the password option for user mappings that will be *used by*
non-superusers, not user mappings *belonging to* non-superusers.  So
this patch is, I think, just making the actual behavior match the
documented behavior.  Not sure if anyone has any other suggestions
here.  I think this is definitely a master-only change; should we try
to insert some kind of warning into the back-branch docs?  I
definitely think this should be called out in the v11 release notes.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Transform for pl/perl
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables