On Mon, Nov 16, 2015 at 11:41 AM, Haribabu Kommi
<kommi.haribabu@gmail.com> wrote:
> On Sun, Nov 15, 2015 at 12:39 AM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> On Fri, Nov 13, 2015 at 6:58 AM, Alvaro Herrera wrote:
>>> Tom Lane wrote:
>>>> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>>>> The place I was thinking we might end up was something like Fujii-san's
>>>> patch plus a new bool parameter "allow_password_reuse", which could be
>>>> passed as false in cases where the old behavior seems preferable.
>>>
>>> Hm, we can try that.
>>
>> That's neater. See for example the attached.
>
> Yes, it is much cleaner than the previous version.
> I reviewed and tested the same. It is working for all scenarios.
This patch has fallen in the void and it simplifies greatly vacuumdb.c
and its password-related routines. I have added it to the next CF to
not forget about it:
https://commitfest.postgresql.org/8/449/
--
Michael