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