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 CAB7nPqQOianRojz+_=kdYg4caeYuP9057ODTgCFoAHSp0t9ccw@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  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
On Mon, Nov 2, 2015 at 8:10 PM, Haribabu Kommi wrote:
> Here I attached modified patch that gets the password from parent connection
> if exists and use it for the child connection also.

Meh? Why the parent connection? You could simply have the password as
an argument of connectDatabase, per se the attached. That looks just
more simple.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: BUG #13741: vacuumdb does not accept valid password
Next
From: Peter Eisentraut
Date:
Subject: Re: BUG #13736: pg_dump should use E'' quotes