Commit d55f1b85 authored by Bruce Momjian's avatar Bruce Momjian

Add C comment about new \c parameter requirement for crashed connections.

parent 41fa3dfb
......@@ -1514,6 +1514,11 @@ do_connect(char *dbname, char *user, char *host, char *port)
if (!o_conn && (!dbname || !user || !host || !port))
{
/*
* We don't know the supplied connection parameters and don't want
* to connect to the wrong database by using defaults, so require
* all parameters to be specified.
*/
fputs(_("All connection parameters must be supplied because no database connection exists\n"), stderr);
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment