Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
51b2b643
Commit
51b2b643
authored
Mar 10, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup up psql \connect and \pset pager setting display, Dennis
Bj?rklund.
parent
aa83bc04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/bin/psql/command.c
src/bin/psql/command.c
+4
-4
src/bin/psql/help.c
src/bin/psql/help.c
+2
-2
No files found.
src/bin/psql/command.c
View file @
51b2b643
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000-2002 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.9
0 2003/02/19 04:04:04
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.9
1 2003/03/10 15:46:01
momjian Exp $
*/
#include "postgres_fe.h"
#include "command.h"
...
...
@@ -1899,11 +1899,11 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
if
(
!
quiet
)
{
if
(
popt
->
topt
.
pager
==
1
)
puts
(
gettext
(
"
Using pager is on
."
));
puts
(
gettext
(
"
Pager is on (for long output)
."
));
else
if
(
popt
->
topt
.
pager
==
2
)
puts
(
gettext
(
"
Using pager is always
."
));
puts
(
gettext
(
"
Pager is always (used)
."
));
else
puts
(
gettext
(
"
Using p
ager is off."
));
puts
(
gettext
(
"
P
ager is off."
));
}
}
...
...
src/bin/psql/help.c
View file @
51b2b643
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.
69 2003/01/07 20:56:07 tgl
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.
70 2003/03/10 15:46:03 momjian
Exp $
*/
#include "postgres_fe.h"
#include "common.h"
...
...
@@ -173,7 +173,7 @@ slashUsage(unsigned short int pager)
*/
fprintf
(
output
,
_
(
"General
\n
"
));
fprintf
(
output
,
_
(
"
\\
c[onnect] [DBNAME|- [USER]]
\n
"
" connect to new database (currently
\"
%s
\"
)
\n
"
),
"
connect to new database (currently
\"
%s
\"
)
\n
"
),
PQdb
(
pset
.
db
));
fprintf
(
output
,
_
(
"
\\
cd [DIR] change the current working directory
\n
"
));
fprintf
(
output
,
_
(
"
\\
copyright show PostgreSQL usage and distribution terms
\n
"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment