Re: [HACKERS] Allow pg_dumpall to work without pg_authid

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Allow pg_dumpall to work without pg_authid
Дата
Msg-id 16d39c97-c295-ddce-f444-4eba611232e0@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Allow pg_dumpall to work without pg_authid  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 3/21/17 23:34, Tom Lane wrote:
> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
>> No answer.  Can we remove this chunk?
> 
>>> +    if (no_role_passwords && binary_upgrade)
> 
> Perhaps, but why?  ISTM that trying to run pg_upgrade as non-superuser
> is a nonstarter for a number of reasons, while if you're superuser you
> do not need --no-role-passwords.

Well, this code was added, apparently without reason.  We don't need to
actively prohibit option combinations just because they are unusual.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] PATCH: pageinspect / add page_checksum andbt_page_items(bytea)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [HACKERS] pg_dump --sequence-data option