3
3
*
4
4
* Copyright 2000 by PostgreSQL Global Development Group
5
5
*
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 $
7
7
*/
8
8
#include "postgres.h"
9
9
#include "command.h"
@@ -308,7 +308,7 @@ exec_command(const char *cmd,
308
308
309
309
if (!query_buf )
310
310
{
311
- psql_error ("no query buffer" );
311
+ psql_error ("no query buffer\n " );
312
312
status = CMD_ERROR ;
313
313
}
314
314
else
@@ -586,7 +586,7 @@ exec_command(const char *cmd,
586
586
newval = realloc (newval ,strlen (newval )+ strlen (opt )+ 1 );
587
587
if (!newval )
588
588
{
589
- psql_error ("out of memory" );
589
+ psql_error ("out of memory\n " );
590
590
exit (EXIT_FAILURE );
591
591
}
592
592
strcat (newval ,opt );
@@ -622,7 +622,7 @@ exec_command(const char *cmd,
622
622
char * opt = scan_option (& string ,OT_NORMAL ,NULL );
623
623
if (!opt )
624
624
{
625
- psql_error ("\\%s: missing required argument" ,cmd );
625
+ psql_error ("\\%s: missing required argument\n " ,cmd );
626
626
success = false;
627
627
}
628
628
if (!SetVariable (pset .vars ,opt ,NULL ))
@@ -642,7 +642,7 @@ exec_command(const char *cmd,
642
642
643
643
if (!query_buf )
644
644
{
645
- psql_error ("no query buffer" );
645
+ psql_error ("no query buffer\n " );
646
646
status = CMD_ERROR ;
647
647
}
648
648
else