Attached is a patch that adds a note about the FATAL messages thatappear in the logs if you don't pass a valid user or dbname to PQpingor PQpingParams.
This was requested in the pg_isready thread.