66 * Portions Copyright (c) 1994, Regents of the University of California
77 *
88 *
9- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.4 2002/08/28 20:57:22 petere Exp $
9+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.5 2002/09/02 22:18:56 petere Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -620,7 +620,7 @@ connectDatabase(const char *dbname, const char *pghost, const char *pgport,
620620
621621if (!conn )
622622{
623- fprintf (stderr ,_ ("%s: could notconnection to database %s\n" ),
623+ fprintf (stderr ,_ ("%s: could notconnect to database %s\n" ),
624624progname ,dbname );
625625exit (0 );
626626}
@@ -643,7 +643,7 @@ connectDatabase(const char *dbname, const char *pghost, const char *pgport,
643643/* check to see that the backend connection was successfully made */
644644if (PQstatus (conn )== CONNECTION_BAD )
645645{
646- fprintf (stderr ,_ ("%s: could notconnection to database %s: %s\n" ),
646+ fprintf (stderr ,_ ("%s: could notconnect to database %s: %s\n" ),
647647progname ,dbname ,PQerrorMessage (conn ));
648648exit (0 );
649649}