pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #14312: Hardcoded dbname on test_postmaster_connection
4+ messages / 3 participants
[nested] [flat]
* BUG #14312: Hardcoded dbname on test_postmaster_connection
@ 2016-09-05 14:51 hernan.bazan@intel.com
0 siblings, 1 reply; 4+ messages in thread
From: hernan.bazan@intel.com @ 2016-09-05 14:51 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 14312
Logged by: Hernan Bazan
Email address: hernan.bazan@intel.com
PostgreSQL version: 9.3.14
Operating system: MLOS
Description:
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?
This causes the error message to appear but postgresql starts OK an we can
connect to our DB with no issues, but we'd like to avoid questions about the
error message.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #14312: Hardcoded dbname on test_postmaster_connection
@ 2016-09-05 15:13 Tom Lane <tgl@sss.pgh.pa.us>
parent: hernan.bazan@intel.com
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2016-09-05 15:13 UTC (permalink / raw)
To: hernan.bazan@intel.com; +Cc: pgsql-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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #14312: Hardcoded dbname on test_postmaster_connection
@ 2016-09-05 17:27 Bazan, Hernan <hernan.bazan@intel.com>
0 siblings, 0 replies; 4+ messages in thread
From: Bazan, Hernan @ 2016-09-05 17:27 UTC (permalink / raw)
To: pgsql-bugs
We deleted that DB on our hardening process, we don't need it so there's no reason to have it there.
What other issues can we have because we don't have that DB?
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #14312: Hardcoded dbname on test_postmaster_connection
@ 2016-09-05 17:50 Bazan, Hernan <hernan.bazan@intel.com>
0 siblings, 0 replies; 4+ messages in thread
From: Bazan, Hernan @ 2016-09-05 17:50 UTC (permalink / raw)
To: tgl@sss.pgh.pa.us <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs
We deleted that DB on our hardening process, we don't need it so there's no reason to have it there.
What other issues can we have because we don't have that DB?
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2016-09-05 17:50 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05 14:51 BUG #14312: Hardcoded dbname on test_postmaster_connection hernan.bazan@intel.com
2016-09-05 15:13 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-09-05 17:27 Re: BUG #14312: Hardcoded dbname on test_postmaster_connection Bazan, Hernan <hernan.bazan@intel.com>
2016-09-05 17:50 Re: BUG #14312: Hardcoded dbname on test_postmaster_connection Bazan, Hernan <hernan.bazan@intel.com>
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