Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4f0d027

Browse files
committed
Add comment about psql \s (history display):
/* This scrolls off the screen when using /dev/tty */
1 parentb295c0a commit4f0d027

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)

[8]ページ先頭

©2009-2025 Movatter.jp