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ciBtZXNz YWdlLgoK
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
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?
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?