Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgvbC-0000DE-66 for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Sep 2016 15:14:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bgvbB-0006UY-Co for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Sep 2016 15:14:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bgvaX-0005m4-85 for pgsql-bugs@postgresql.org; Mon, 05 Sep 2016 15:13:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bgvaU-0005zO-0w for pgsql-bugs@postgresql.org; Mon, 05 Sep 2016 15:13:32 +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 u85FDQfQ010496; Mon, 5 Sep 2016 11:13:26 -0400 From: Tom Lane To: hernan.bazan@intel.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14312: Hardcoded dbname on test_postmaster_connection In-reply-to: <20160905145143.1408.937@wrigleys.postgresql.org> References: <20160905145143.1408.937@wrigleys.postgresql.org> Comments: In-reply-to hernan.bazan@intel.com message dated "Mon, 05 Sep 2016 14:51:43 -0000" Date: Mon, 05 Sep 2016 11:13:26 -0400 Message-ID: <10495.1473088406@sss.pgh.pa.us> X-Pg-Spam-Score: -3.0 (---) 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 hernan.bazan@intel.com writes: > When calling "pg_ctl start", providing a storage area (-D), the connection > test uses a hardcoded dbname (dbname=postgres), causing an error message: > no pg_hba.conf entry for host "[local]", user "xxxxx", database "postgres", > SSL off > Because we deleted that DB. There is no way to define a different DB to test > the connection. > Is the deletion of postgres DB supported? Not really. You can do it but you will have operational annoyances like that one, and probably not only from pg_ctl. I'd suggest recreating it. 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