Skip to content

Commit 51b2b64

Browse files
committed
Cleanup up psql \connect and \pset pager setting display, Dennis
Bj?rklund.
1 parent aa83bc0 commit 51b2b64

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 pager is on."));
1902+
puts(gettext("Pager is on (for long output)."));
19031903
else if (popt->topt.pager == 2)
1904-
puts(gettext("Using pager is always."));
1904+
puts(gettext("Pager is 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)
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