[Pgpool-hackers] database doesnot exist error
Asif Rehman
asifalirehman at gmail.com
Tue May 24 14:00:20 UTC 2011
Hi,
I was setting up pgpool on my system, and I start getting following error in
database server log.
2011-04-22 14:32:01 IST FATAL: database "postgres" does not exist
So I start looking into the pgpool codebase. where I found that there
are at-least three functions that are using "postgres" as hardcoded database
name
1- check_postmaster_started
2- health_check
3- make_persistent_db_connection
In the first two functions, if postgres is not found, "template1" is used,
But for #3 "postgres" is the only option. Do you think there is any harm in
using "template1" instead of "postgres"?
Regards,
--Asif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110524/9a3e91fa/attachment.html>
More information about the Pgpool-hackers
mailing list