Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
29cdab3d
Commit
29cdab3d
authored
22 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Increment libpq major number for 7.3.1 and minor for 7.4.
parent
3145cbc1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/bin/psql/help.c
+56
-57
56 additions, 57 deletions
src/bin/psql/help.c
src/interfaces/libpq/Makefile
+3
-3
3 additions, 3 deletions
src/interfaces/libpq/Makefile
with
59 additions
and
60 deletions
src/bin/psql/help.c
+
56
−
57
View file @
29cdab3d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.6
7
2002/12/1
2
2
1:02:24
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.6
8
2002/12/1
3
2
2:17:57
momjian Exp $
*/
*/
#include
"postgres_fe.h"
#include
"postgres_fe.h"
#include
"common.h"
#include
"common.h"
...
@@ -175,28 +175,28 @@ slashUsage(unsigned short int pager)
...
@@ -175,28 +175,28 @@ slashUsage(unsigned short int pager)
fprintf
(
output
,
_
(
"
\\
c[onnect] [DBNAME|- [USER]]
\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
));
PQdb
(
pset
.
db
));
fprintf
(
output
,
_
(
"
\\
q quit psql
\n
"
));
fprintf
(
output
,
_
(
"
\\
h [NAME] help on syntax of SQL commands, * for all commands
\n
"
));
fprintf
(
output
,
_
(
"
\\
copyright show PostgreSQL usage and distribution terms
\n
"
));
fprintf
(
output
,
_
(
"
\\
cd [DIR] change the current working directory
\n
"
));
fprintf
(
output
,
_
(
"
\\
cd [DIR] change the current working directory
\n
"
));
fprintf
(
output
,
_
(
"
\\
! [COMMAND] execute command in shell or start interactive shell
\n
"
));
fprintf
(
output
,
_
(
"
\\
copyright show PostgreSQL usage and distribution terms
\n
"
));
fprintf
(
output
,
_
(
"
\\
encoding [ENCODING] show or set client encoding
\n
"
));
fprintf
(
output
,
_
(
"
\\
encoding [ENCODING] show or set client encoding
\n
"
));
fprintf
(
output
,
_
(
"
\\
h [NAME] help on syntax of SQL commands, * for all commands
\n
"
));
fprintf
(
output
,
_
(
"
\\
q quit psql
\n
"
));
fprintf
(
output
,
_
(
"
\\
set [NAME [VALUE]] set internal variable, or list all if no parameters
\n
"
));
fprintf
(
output
,
_
(
"
\\
set [NAME [VALUE]] set internal variable, or list all if no parameters
\n
"
));
fprintf
(
output
,
_
(
"
\\
unset NAME unset (delete) internal variable
\n
"
));
fprintf
(
output
,
_
(
"
\\
timing toggle timing of commands (currently %s)
\n
"
),
fprintf
(
output
,
_
(
"
\\
timing toggle timing of commands (currently %s)
\n
"
),
ON
(
pset
.
timing
));
ON
(
pset
.
timing
));
fprintf
(
output
,
_
(
"
\\
unset NAME unset (delete) internal variable
\n
"
));
fprintf
(
output
,
_
(
"
\\
! [COMMAND] execute command in shell or start interactive shell
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"Query Buffer
\n
"
));
fprintf
(
output
,
_
(
"Query Buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
g [FILE] send query buffer to server (and results to file or |pipe)
\n
"
));
fprintf
(
output
,
_
(
"
\\
r reset (clear) the query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
e [FILE] edit the query buffer (or file) with external editor
\n
"
));
fprintf
(
output
,
_
(
"
\\
e [FILE] edit the query buffer (or file) with external editor
\n
"
));
fprintf
(
output
,
_
(
"
\\
g [FILE] send query buffer to server (and results to file or |pipe)
\n
"
));
fprintf
(
output
,
_
(
"
\\
p show the contents of the query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
p show the contents of the query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
w [FILE] writ
e query buffer
to file
\n
"
));
fprintf
(
output
,
_
(
"
\\
r reset (clear) th
e query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
s [FILE] display history or save it to file
\n
"
));
fprintf
(
output
,
_
(
"
\\
s [FILE] display history or save it to file
\n
"
));
fprintf
(
output
,
_
(
"
\\
w [FILE] write query buffer to file
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"I
/O Redirection
\n
"
));
fprintf
(
output
,
_
(
"I
nput/Output
\n
"
));
fprintf
(
output
,
_
(
"
\\
i FILE execute commands from file
\n
"
));
fprintf
(
output
,
_
(
"
\\
i FILE execute commands from file
\n
"
));
fprintf
(
output
,
_
(
"
\\
o FILE send all query results to file or |pipe
\n
"
));
fprintf
(
output
,
_
(
"
\\
o FILE send all query results to file or |pipe
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
...
@@ -221,30 +221,29 @@ slashUsage(unsigned short int pager)
...
@@ -221,30 +221,29 @@ slashUsage(unsigned short int pager)
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"Formatting
\n
"
));
fprintf
(
output
,
_
(
"Formatting
\n
"
));
fprintf
(
output
,
_
(
"
\\
x toggle expanded output (currently %s)
\n
"
),
ON
(
pset
.
popt
.
topt
.
expanded
));
fprintf
(
output
,
_
(
"
\\
a toggle between unaligned and aligned output mode
\n
"
));
fprintf
(
output
,
_
(
"
\\
a toggle between unaligned and aligned output mode
\n
"
));
fprintf
(
output
,
_
(
"
\\
C [STRING] set table title, or unset if none
\n
"
));
fprintf
(
output
,
_
(
"
\\
echo [STRING] write string to standard output
\n
"
));
fprintf
(
output
,
_
(
"
\\
f [STRING] show or set field separator for unaligned query output
\n
"
));
fprintf
(
output
,
_
(
"
\\
f [STRING] show or set field separator for unaligned query output
\n
"
));
fprintf
(
output
,
_
(
"
\\
H toggle HTML output mode (currently %s)
\n
"
),
ON
(
pset
.
popt
.
topt
.
format
==
PRINT_HTML
));
fprintf
(
output
,
_
(
"
\\
pset NAME [VALUE] set table output option
\n
"
fprintf
(
output
,
_
(
"
\\
pset NAME [VALUE] set table output option
\n
"
" (NAME := {format|border|expanded|fieldsep|null|recordsep|
\n
"
" (NAME := {format|border|expanded|fieldsep|null|recordsep|
\n
"
" tuples_only|title|tableattr|pager})
\n
"
));
" tuples_only|title|tableattr|pager})
\n
"
));
fprintf
(
output
,
_
(
"
\\
C
[STRING]
set table title, or unset if none
\n
"
));
fprintf
(
output
,
_
(
"
\\
qecho
[STRING]
write string to query output stream (see
\\
o)
\n
"
));
fprintf
(
output
,
_
(
"
\\
t show only rows (currently %s)
\n
"
),
fprintf
(
output
,
_
(
"
\\
t show only rows (currently %s)
\n
"
),
ON
(
pset
.
popt
.
topt
.
tuples_only
));
ON
(
pset
.
popt
.
topt
.
tuples_only
));
fprintf
(
output
,
_
(
"
\\
echo [STRING] write string to standard output
\n
"
));
fprintf
(
output
,
_
(
"
\\
qecho [STRING] write string to query output stream (see
\\
o)
\n
"
));
fprintf
(
output
,
_
(
"
\\
H toggle HTML output mode (currently %s)
\n
"
),
ON
(
pset
.
popt
.
topt
.
format
==
PRINT_HTML
));
fprintf
(
output
,
_
(
"
\\
T [STRING] set HTML <table> tag attributes, or unset if none
\n
"
));
fprintf
(
output
,
_
(
"
\\
T [STRING] set HTML <table> tag attributes, or unset if none
\n
"
));
fprintf
(
output
,
_
(
"
\\
x toggle expanded output (currently %s)
\n
"
),
ON
(
pset
.
popt
.
topt
.
expanded
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"Large Object, Copy
\n
"
));
fprintf
(
output
,
_
(
"Copy, Large Object
\n
"
));
fprintf
(
output
,
_
(
"
\\
copy ... perform SQL COPY with data stream to the client host
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_export
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_export
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_import
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_import
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_list
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_list
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_unlink large object operations
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_unlink large object operations
\n
"
));
fprintf
(
output
,
_
(
"
\\
copy ... perform SQL COPY with data stream to the client host
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
if
(
output
!=
stdout
)
if
(
output
!=
stdout
)
{
{
...
...
This diff is collapsed.
Click to expand it.
src/interfaces/libpq/Makefile
+
3
−
3
View file @
29cdab3d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.
69
2002/12/1
1 04:07:39
momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.
70
2002/12/1
3 22:17:57
momjian Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -15,8 +15,8 @@ include $(top_builddir)/src/Makefile.global
...
@@ -15,8 +15,8 @@ include $(top_builddir)/src/Makefile.global
# shared library parameters
# shared library parameters
NAME
=
pq
NAME
=
pq
SO_MAJOR_VERSION
=
2
SO_MAJOR_VERSION
=
3
SO_MINOR_VERSION
=
4
SO_MINOR_VERSION
=
1
override
CPPFLAGS
:=
-I
$(
srcdir
)
$(
CPPFLAGS
)
-DFRONTEND
-DSYSCONFDIR
=
'"
$(
sysconfdir
)
"'
override
CPPFLAGS
:=
-I
$(
srcdir
)
$(
CPPFLAGS
)
-DFRONTEND
-DSYSCONFDIR
=
'"
$(
sysconfdir
)
"'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment