This prevents the next psql prompt from showing up on the end of the
last history line.
*
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.136 2004/11/30 19:01:28 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.137 2004/11/30 20:00:34 momjian Exp $
*/
#include "postgres_fe.h"
#include "command.h"
if (success && !quiet && fname)
printf(gettext("Wrote history to file \"%s\".\n"), fname);
+ if (!fname)
+ putchar('\n');
free(fname);
}