Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 87B63633BF7 for ; Fri, 7 May 2010 17:20:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 30503-03; Fri, 7 May 2010 20:20:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gauss.credativ.com (gauss.credativ.com [91.190.177.186]) by mail.postgresql.org (Postfix) with ESMTP id 461BF63381B; Fri, 7 May 2010 17:20:09 -0300 (ADT) Received: from feivel (p54BBB2B0.dip.t-dialin.net [84.187.178.176]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mme@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id 98D415501FA; Fri, 7 May 2010 22:20:06 +0200 (CEST) Received: by feivel (Postfix, from userid 1000) id 4275F10A05A; Fri, 7 May 2010 22:20:05 +0200 (CEST) Date: Fri, 7 May 2010 22:20:05 +0200 From: Michael Meskes To: Paul Anderson Cc: Michael Meskes , pgsql-testers@postgresql.org Subject: Re: Possible 9.0 bug Message-ID: <20100507202005.GA1728@feivel.credativ.lan> References: <20100507194103.GC9360@feivel.credativ.lan> <4BE46E06.1010102@pnlassociates.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4BE46E06.1010102@pnlassociates.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.5 tagged_above=-10 required=5 tests=BAYES_05=-0.5 X-Spam-Level: X-Archive-Number: 201005/23 X-Sequence-Number: 106 On Fri, May 07, 2010 at 03:46:14PM -0400, Paul Anderson wrote: > I tried it on 8.4.1 and it did not fail. Is that consistent? Well the bug might get hidden by some other stuff but it definitely was there. The problem was that the code only checked for user/password == NULL to find empty parameters which of course doesn't catch "". Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber meskes@jabber.org VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL