Skip to content

Commit 4f0d027

Browse files
committed
Add comment about psql \s (history display):
/* This scrolls off the screen when using /dev/tty */
1 parent b295c0a commit 4f0d027

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/psql/command.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.114 2004/03/21 22:29:11 tgl Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.115 2004/03/27 18:01:40 momjian Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "command.h"
@@ -634,6 +634,7 @@ exec_command(const char *cmd,
634634
OT_NORMAL, NULL, true);
635635

636636
expand_tilde(&fname);
637+
/* This scrolls off the screen when using /dev/tty */
637638
success = saveHistory(fname ? fname : "/dev/tty");
638639

639640
if (success && !quiet && fname)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy