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
6ca16d7b
Commit
6ca16d7b
authored
Dec 11, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump version for 7.3 and 7.4.
parent
944f95d2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
39 deletions
+57
-39
src/bin/psql/help.c
src/bin/psql/help.c
+49
-31
src/interfaces/ecpg/lib/Makefile
src/interfaces/ecpg/lib/Makefile
+2
-2
src/interfaces/libpgtcl/Makefile
src/interfaces/libpgtcl/Makefile
+2
-2
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+2
-2
src/interfaces/python/GNUmakefile
src/interfaces/python/GNUmakefile
+2
-2
No files found.
src/bin/psql/help.c
View file @
6ca16d7b
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.6
1 2002/11/08 19:12:21
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.6
2 2002/12/11 04:07:39
momjian Exp $
*/
#include "postgres_fe.h"
#include "common.h"
...
...
@@ -171,14 +171,34 @@ slashUsage(unsigned short int pager)
* if this " is the start of the string then it ought to end there to
* fit in 80 columns >> "
*/
fprintf
(
output
,
_
(
"
\\
a toggle between unaligned and aligned output mode
\n
"
));
fprintf
(
output
,
_
(
"
General
\n
"
));
fprintf
(
output
,
_
(
"
\\
c[onnect] [DBNAME|- [USER]]
\n
"
" connect to new database (currently
\"
%s
\"
)
\n
"
),
PQdb
(
pset
.
db
));
fprintf
(
output
,
_
(
"
\\
C [STRING] set table title, or unset if none
\n
"
));
fprintf
(
output
,
_
(
"
\\
cd [DIR] change the current working directory
\n
"
));
fprintf
(
output
,
_
(
"
\\
copy ... perform SQL COPY with data stream to the client host
\n
"
));
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
,
_
(
"
\\
! [COMMAND] execute command in shell or start interactive shell
\n
"
));
fprintf
(
output
,
_
(
"
\\
encoding [ENCODING] show or set client encoding
\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
"
),
ON
(
pset
.
timing
));
fprintf
(
output
,
_
(
"
\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
,
_
(
"
\\
i FILE execute commands from file
\n
"
));
fprintf
(
output
,
_
(
"
\\
p show the contents of the query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
w [FILE] write query buffer to file
\n
"
));
fprintf
(
output
,
_
(
"
\\
o FILE send all query results to file or |pipe
\n
"
));
fprintf
(
output
,
_
(
"
\\
s [FILE] display history or save it to file
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"Informational
\n
"
));
fprintf
(
output
,
_
(
"
\\
d [NAME] describe table, index, sequence, or view
\n
"
));
fprintf
(
output
,
_
(
"
\\
d{t|i|s|v|S} [PATTERN] (add
\"
+
\"
for more detail)
\n
"
" list tables/indexes/sequences/views/system tables
\n
"
));
...
...
@@ -191,39 +211,37 @@ slashUsage(unsigned short int pager)
fprintf
(
output
,
_
(
"
\\
dp [PATTERN] list table access privileges
\n
"
));
fprintf
(
output
,
_
(
"
\\
dT [PATTERN] list data types (add
\"
+
\"
for more detail)
\n
"
));
fprintf
(
output
,
_
(
"
\\
du [PATTERN] list users
\n
"
));
fprintf
(
output
,
_
(
"
\\
e [FILE] edit the query buffer (or file) with external editor
\n
"
));
fprintf
(
output
,
_
(
"
\\
echo [STRING] write string to standard output
\n
"
));
fprintf
(
output
,
_
(
"
\\
encoding [ENCODING] show or set client encoding
\n
"
));
fprintf
(
output
,
_
(
"
\\
l list all databases (add
\"
+
\"
for more detail)
\n
"
));
fprintf
(
output
,
_
(
"
\\
z [PATTERN] list table access privileges (same as
\\
dp)
\n
"
));
fprintf
(
output
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"Large Object, Copy
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_export
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_import
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_list
\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
"
));
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
,
_
(
"
\\
f [STRING] show or set field separator for unaligned query output
\n
"
));
fprintf
(
output
,
_
(
"
\\
g [FILE] send query buffer to server (and results to file or |pipe)
\n
"
));
fprintf
(
output
,
_
(
"
\\
h [NAME] help on syntax of SQL commands, * for all commands
\n
"
));
fprintf
(
output
,
_
(
"
\\
H toggle HTML output mode (currently %s)
\n
"
),
ON
(
pset
.
popt
.
topt
.
format
==
PRINT_HTML
));
fprintf
(
output
,
_
(
"
\\
i FILE execute commands from file
\n
"
));
fprintf
(
output
,
_
(
"
\\
l list all databases
\n
"
));
fprintf
(
output
,
_
(
"
\\
lo_export,
\\
lo_import,
\\
lo_list,
\\
lo_unlink
\n
"
" large object operations
\n
"
));
fprintf
(
output
,
_
(
"
\\
o FILE send all query results to file or |pipe
\n
"
));
fprintf
(
output
,
_
(
"
\\
p show the contents of the query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
pset NAME [VALUE] set table output option
\n
"
" (NAME := {format|border|expanded|fieldsep|null|recordsep|
\n
"
" tuples_only|title|tableattr|pager})
\n
"
));
fprintf
(
output
,
_
(
"
\\
q quit psql
\n
"
));
fprintf
(
output
,
_
(
"
\\
qecho [STRING] write string to query output stream (see
\\
o)
\n
"
));
fprintf
(
output
,
_
(
"
\\
r reset (clear) the query buffer
\n
"
));
fprintf
(
output
,
_
(
"
\\
s [FILE] display history or save it to file
\n
"
));
fprintf
(
output
,
_
(
"
\\
set [NAME [VALUE]] set internal variable, or list all if no parameters
\n
"
));
fprintf
(
output
,
_
(
"
\\
C [STRING] set table title, or unset if none
\n
"
));
fprintf
(
output
,
_
(
"
\\
t show only rows (currently %s)
\n
"
),
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
,
_
(
"
\n
"
));
fprintf
(
output
,
_
(
"HTML Output
\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
,
_
(
"
\\
timing toggle timing of commands (currently %s)
\n
"
),
ON
(
pset
.
timing
));
fprintf
(
output
,
_
(
"
\\
unset NAME unset (delete) internal variable
\n
"
));
fprintf
(
output
,
_
(
"
\\
w [FILE] write query buffer to file
\n
"
));
fprintf
(
output
,
_
(
"
\\
x toggle expanded output (currently %s)
\n
"
),
ON
(
pset
.
popt
.
topt
.
expanded
));
fprintf
(
output
,
_
(
"
\\
z [PATTERN] list table access privileges (same as
\\
dp)
\n
"
));
fprintf
(
output
,
_
(
"
\\
! [COMMAND] execute command in shell or start interactive shell
\n
"
));
if
(
output
!=
stdout
)
{
...
...
src/interfaces/ecpg/lib/Makefile
View file @
6ca16d7b
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile,v 1.1
7 2002/12/04 18:14:11
momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile,v 1.1
8 2002/12/11 04:07:39
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -14,7 +14,7 @@ include $(top_builddir)/src/Makefile.global
NAME
=
ecpg
SO_MAJOR_VERSION
=
3
SO_MINOR_VERSION
=
4.
1
SO_MINOR_VERSION
=
4.
2
override CPPFLAGS
:
= -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) $(CPPFLAGS)
...
...
src/interfaces/libpgtcl/Makefile
View file @
6ca16d7b
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.2
8 2002/12/04 18:14:11
momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.2
9 2002/12/11 04:07:39
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -14,7 +14,7 @@ include ../../Makefile.global
NAME
=
pgtcl
SO_MAJOR_VERSION
=
2
SO_MINOR_VERSION
=
3
SO_MINOR_VERSION
=
4
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS)
...
...
src/interfaces/libpq/Makefile
View file @
6ca16d7b
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.6
8 2002/12/06 04:37:05
momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.6
9 2002/12/11 04:07:39
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,7 +16,7 @@ include $(top_builddir)/src/Makefile.global
# shared library parameters
NAME
=
pq
SO_MAJOR_VERSION
=
2
SO_MINOR_VERSION
=
3
SO_MINOR_VERSION
=
4
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
...
...
src/interfaces/python/GNUmakefile
View file @
6ca16d7b
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.1
4 2002/12/04 18:14:11
momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.1
5 2002/12/11 04:07:39
momjian Exp $
subdir
=
src/interfaces/python
top_builddir
=
../../..
...
...
@@ -6,7 +6,7 @@ include $(top_builddir)/src/Makefile.global
NAME
=
_pgmodule
SO_MAJOR_VERSION
=
2
SO_MINOR_VERSION
=
3
SO_MINOR_VERSION
=
4
OBJS
=
pgmodule.o
SHLIB_LINK
=
$(libpq)
ifeq
($(PORTNAME), win)
...
...
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