diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-03-27 18:01:40 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-03-27 18:01:40 +0000 |
commit | 4f0d027e7d3802ddb483c1851e79af2ad4a4644b (patch) | |
tree | 3092391ae2409948e9f30946a6060581a8512e54 /src | |
parent | b295c0a085dda743508a2e3adb8ccb3337caf466 (diff) | |
download | postgresql-4f0d027e7d3802ddb483c1851e79af2ad4a4644b.tar.gz postgresql-4f0d027e7d3802ddb483c1851e79af2ad4a4644b.zip |
Add comment about psql \s (history display):
/* This scrolls off the screen when using /dev/tty */
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 97b338efea7..d6727121b53 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $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 $ */ #include "postgres_fe.h" #include "command.h" @@ -634,6 +634,7 @@ exec_command(const char *cmd, OT_NORMAL, NULL, true); expand_tilde(&fname); + /* This scrolls off the screen when using /dev/tty */ success = saveHistory(fname ? fname : "/dev/tty"); if (success && !quiet && fname) |