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
2d5dd755
Commit
2d5dd755
authored
Jan 26, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update files.
parent
02d83c44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
COPYRIGHT
COPYRIGHT
+3
-1
src/bin/psql/help.c
src/bin/psql/help.c
+6
-7
No files found.
COPYRIGHT
View file @
2d5dd755
PostgreSQL Data Base Management System (formerly known as Postgres, then
as Postgres95).
Copyright (c) 1994-7 Regents of the University of California
Portions Copyright 2000 by PostgreSQL Global Development Team
Portions Copyright (c) 1994-7 Regents of the University of California
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written agreement
...
...
src/bin/psql/help.c
View file @
2d5dd755
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Team
*
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.1
3 2000/01/26 05:57:44
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.1
4 2000/01/26 16:10:01
momjian Exp $
*/
#include <c.h>
#include "help.h"
...
...
@@ -105,7 +105,7 @@ usage(void)
/* Display default port */
env
=
getenv
(
"PGPORT"
);
printf
(
" -p <port> Specify database server port (default: %s)
\n
"
,
env
?
env
:
"hardwired"
);
env
?
env
:
"hardwired"
);
puts
(
" -P var[=arg] Set printing option 'var' to 'arg' (see
\\
pset command)"
);
puts
(
" -q Run quietly (no messages, only query output)"
);
...
...
@@ -192,7 +192,7 @@ slashUsage(void)
/* if you add/remove a line here, change the row test above */
fprintf
(
fout
,
"
\\
? help
\n
"
);
fprintf
(
fout
,
"
\\
c[onnect] [dbname|- [user|?]]
\n
"
" connect to new database (currently '%s')
\n
"
,
PQdb
(
pset
.
db
));
" connect to new database (currently '%s')
\n
"
,
PQdb
(
pset
.
db
));
fprintf
(
fout
,
"
\\
copy ... perform SQL COPY with data stream to the client machine"
);
fprintf
(
fout
,
"
\\
copyright show PostgreSQL usage and distribution terms
\n
"
);
fprintf
(
fout
,
"
\\
d <table> describe table (or view, index, sequence)
\n
"
);
...
...
@@ -209,7 +209,7 @@ slashUsage(void)
fprintf
(
fout
,
"
\\
i <fname> read and execute queries from filename
\n
"
);
fprintf
(
fout
,
"
\\
l list all databases
\n
"
);
fprintf
(
fout
,
"
\\
lo_export,
\\
lo_import,
\\
lo_list,
\\
lo_unlink
\n
"
" large object operations
\n
"
);
" large object operations
\n
"
);
fprintf
(
fout
,
"
\\
o [fname] send all query results to <fname>, or |pipe
\n
"
);
fprintf
(
fout
,
"
\\
p show the content of the current query buffer
\n
"
);
fprintf
(
fout
,
"
\\
pset [opt] set table output options
\n
"
);
...
...
@@ -304,11 +304,10 @@ print_copyright(void)
{
puts
(
"PostgreSQL Data Base Management System
\n\n
"
"Copyright(c) 1996 - 9 PostgreSQL Global Development Group
\n\n
"
"Portions Copyright (c) 1996-2000, PostgreSQL, Inc
\n\n
"
"This software is based on Postgres95, formerly known as Postgres, which
\n
"
"contains the following notice:
\n\n
"
*
Portions
Copyright
(
c
)
1996
-
2000
,
PostgreSQL
,
Inc
"Portions Copyright(c) 1994 - 7 Regents of the University of California
\n\n
"
"Portions Copyright(c) 1994 - 7 Regents of the University of California
\n\n
"
"Permission to use, copy, modify, and distribute this software and its
\n
"
"documentation for any purpose, without fee, and without a written agreement
\n
"
"is hereby granted, provided that the above copyright notice and this paragraph
\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