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

Commit51b2b64

Browse files
committed
Cleanup up psql \connect and \pset pager setting display, Dennis
Bj?rklund.
1 parentaa83bc0 commit51b2b64

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/bin/psql/command.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000-2002 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.90 2003/02/19 04:04:04 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.91 2003/03/10 15:46:01 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"command.h"
@@ -1899,11 +1899,11 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
18991899
if (!quiet)
19001900
{
19011901
if (popt->topt.pager==1)
1902-
puts(gettext("Using pageris on."));
1902+
puts(gettext("Pageris on (for long output)."));
19031903
elseif (popt->topt.pager==2)
1904-
puts(gettext("Using pageris always."));
1904+
puts(gettext("Pageris always (used)."));
19051905
else
1906-
puts(gettext("Using pager is off."));
1906+
puts(gettext("Pager is off."));
19071907
}
19081908
}
19091909

‎src/bin/psql/help.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.69 2003/01/07 20:56:07 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.70 2003/03/10 15:46:03 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"common.h"
@@ -173,7 +173,7 @@ slashUsage(unsigned short int pager)
173173
*/
174174
fprintf(output,_("General\n"));
175175
fprintf(output,_(" \\c[onnect] [DBNAME|- [USER]]\n"
176-
" connect to new database (currently \"%s\")\n"),
176+
"connect to new database (currently \"%s\")\n"),
177177
PQdb(pset.db));
178178
fprintf(output,_(" \\cd [DIR] change the current working directory\n"));
179179
fprintf(output,_(" \\copyright show PostgreSQL usage and distribution terms\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp