Re: BUG #13741: vacuumdb does not accept valid password - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #13741: vacuumdb does not accept valid password
Date
Msg-id CAB7nPqS+W2iUK8YLky+nZtPuQ0RC5MuL0nQuKhLHOtv2yGEogQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #13741: vacuumdb does not accept valid password  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: BUG #13741: vacuumdb does not accept valid password  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: "Maeldron T."
Date:
Subject: Re: [BUGS] GIN index isn’t working with intarray
Next
From: Tom Lane
Date:
Subject: Re: BUG #13741: vacuumdb does not accept valid password