Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b295c0a commit 4f0d027Copy full SHA for 4f0d027
src/bin/psql/command.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
5
6
- * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.114 2004/03/21 22:29:11 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.115 2004/03/27 18:01:40 momjian Exp $
7
*/
8
#include "postgres_fe.h"
9
#include "command.h"
@@ -634,6 +634,7 @@ exec_command(const char *cmd,
634
OT_NORMAL, NULL, true);
635
636
expand_tilde(&fname);
637
+ /* This scrolls off the screen when using /dev/tty */
638
success = saveHistory(fname ? fname : "/dev/tty");
639
640
if (success && !quiet && fname)
0 commit comments