Re: BUG #14312: Hardcoded dbname on test_postmaster_connection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14312: Hardcoded dbname on test_postmaster_connection
Дата
Msg-id 10495.1473088406@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #14312: Hardcoded dbname on test_postmaster_connection  (hernan.bazan@intel.com)
Список 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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14310: Triggers do not fire
Следующее
От: "Bazan, Hernan"
Дата:
Сообщение: Re: BUG #14312: Hardcoded dbname on test_postmaster_connection