pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: hernan.bazan@intel.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14312: Hardcoded dbname on test_postmaster_connection
Date: Mon, 05 Sep 2016 11:13:26 -0400
Message-ID: <10495.1473088406@sss.pgh.pa.us> (raw)
In-Reply-To: <20160905145143.1408.937@wrigleys.postgresql.org>
References: <20160905145143.1408.937@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (4+ messages)  latest in thread

Message-ID: <10495.1473088406@sss.pgh.pa.us>
Permalink:  ../10495.1473088406@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10495.1473088406@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hernan.bazan@intel.com
  Subject: Re: BUG #14312: Hardcoded dbname on test_postmaster_connection
  In-Reply-To: <10495.1473088406@sss.pgh.pa.us>
  References: <20160905145143.1408.937@wrigleys.postgresql.org> <10495.1473088406@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox