33 *
44 * Copyright 2000 by PostgreSQL Global Development Group
55 *
6- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.20 2000/02/19 05:01:15 ishii Exp $
6+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.21 2000/02/20 02:37:40 tgl Exp $
77 */
88#include "postgres.h"
99#include "command.h"
@@ -308,7 +308,7 @@ exec_command(const char *cmd,
308308
309309 if (!query_buf )
310310 {
311- psql_error ("no query buffer" );
311+ psql_error ("no query buffer\n " );
312312 status = CMD_ERROR ;
313313 }
314314 else
@@ -586,7 +586,7 @@ exec_command(const char *cmd,
586586 newval = realloc (newval , strlen (newval ) + strlen (opt ) + 1 );
587587 if (!newval )
588588 {
589- psql_error ("out of memory" );
589+ psql_error ("out of memory\n " );
590590 exit (EXIT_FAILURE );
591591 }
592592 strcat (newval , opt );
@@ -622,7 +622,7 @@ exec_command(const char *cmd,
622622 char * opt = scan_option (& string , OT_NORMAL , NULL );
623623 if (!opt )
624624 {
625- psql_error ("\\%s: missing required argument" , cmd );
625+ psql_error ("\\%s: missing required argument\n " , cmd );
626626 success = false;
627627 }
628628 if (!SetVariable (pset .vars , opt , NULL ))
@@ -642,7 +642,7 @@ exec_command(const char *cmd,
642642
643643 if (!query_buf )
644644 {
645- psql_error ("no query buffer" );
645+ psql_error ("no query buffer\n " );
646646 status = CMD_ERROR ;
647647 }
648648 else
0 commit comments