Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aBmXE-0005BB-LI for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Dec 2015 16:45:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aBmXD-0006QG-VB for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Dec 2015 16:45:08 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aBmXD-0006Pf-B4; Wed, 23 Dec 2015 16:45:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aBmX6-0003KY-Ks; Wed, 23 Dec 2015 16:45:06 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tBNGiruo006049; Wed, 23 Dec 2015 11:44:53 -0500 From: Tom Lane To: Michael Paquier cc: Haribabu Kommi , Alvaro Herrera , Fujii Masao , brown@fastmail.com, "pgsql-bugs@postgresql.org" , pgsql-hackers@postgresql.org Subject: Re: BUG #13741: vacuumdb does not accept valid password In-reply-to: References: <20151104021618.GP6104@alvherre.pgsql> <20151112170303.GN614468@alvherre.pgsql> <15139.1447357263@sss.pgh.pa.us> <20151112212627.GR614468@alvherre.pgsql> <21797.1447365082@sss.pgh.pa.us> <20151112215841.GS614468@alvherre.pgsql> Comments: In-reply-to Michael Paquier message dated "Wed, 23 Dec 2015 22:52:20 +0900" Date: Wed, 23 Dec 2015 11:44:53 -0500 Message-ID: <6048.1450889093@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier writes: > On Mon, Nov 16, 2015 at 11:41 AM, Haribabu Kommi > wrote: >> On Sun, Nov 15, 2015 at 12:39 AM, Michael Paquier >> wrote: >>> 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: Sorry for having lost track of this. I think if we're going to do this, we should do it now not later, because it essentially reverts the connectDatabase() API change made in 83dec5a71 in favor of a different API change with the same purpose. Now, that doesn't matter if no third-party code is using connectDatabase(), but I have a suspicion that there probably is some. Any such users will not thank us for whacking connectDatabase's API around in 9.5 and then whacking it around differently in 9.6. In short, I think we should apply this now and back-patch into 9.5, like the prior patch, even though we're post-RC1. The reduction in cross-version API churn is worth it. If no objections, I'll go do that shortly. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs