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
2d5dd755
Commit
2d5dd755
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update files.
parent
02d83c44
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
COPYRIGHT
+3
-1
3 additions, 1 deletion
COPYRIGHT
src/bin/psql/help.c
+6
-7
6 additions, 7 deletions
src/bin/psql/help.c
with
9 additions
and
8 deletions
COPYRIGHT
+
3
−
1
View file @
2d5dd755
PostgreSQL Data Base Management System (formerly known as Postgres, then
PostgreSQL Data Base Management System (formerly known as Postgres, then
as Postgres95).
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
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written agreement
documentation for any purpose, without fee, and without a written agreement
...
...
This diff is collapsed.
Click to expand it.
src/bin/psql/help.c
+
6
−
7
View file @
2d5dd755
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Team
* 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
<c.h>
#include
"help.h"
#include
"help.h"
...
@@ -105,7 +105,7 @@ usage(void)
...
@@ -105,7 +105,7 @@ usage(void)
/* Display default port */
/* Display default port */
env
=
getenv
(
"PGPORT"
);
env
=
getenv
(
"PGPORT"
);
printf
(
" -p <port> Specify database server port (default: %s)
\n
"
,
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
(
" -P var[=arg] Set printing option 'var' to 'arg' (see
\\
pset command)"
);
puts
(
" -q Run quietly (no messages, only query output)"
);
puts
(
" -q Run quietly (no messages, only query output)"
);
...
@@ -192,7 +192,7 @@ slashUsage(void)
...
@@ -192,7 +192,7 @@ slashUsage(void)
/* if you add/remove a line here, change the row test above */
/* if you add/remove a line here, change the row test above */
fprintf
(
fout
,
"
\\
? help
\n
"
);
fprintf
(
fout
,
"
\\
? help
\n
"
);
fprintf
(
fout
,
"
\\
c[onnect] [dbname|- [user|?]]
\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
,
"
\\
copy ... perform SQL COPY with data stream to the client machine"
);
fprintf
(
fout
,
"
\\
copyright show PostgreSQL usage and distribution terms
\n
"
);
fprintf
(
fout
,
"
\\
copyright show PostgreSQL usage and distribution terms
\n
"
);
fprintf
(
fout
,
"
\\
d <table> describe table (or view, index, sequence)
\n
"
);
fprintf
(
fout
,
"
\\
d <table> describe table (or view, index, sequence)
\n
"
);
...
@@ -209,7 +209,7 @@ slashUsage(void)
...
@@ -209,7 +209,7 @@ slashUsage(void)
fprintf
(
fout
,
"
\\
i <fname> read and execute queries from filename
\n
"
);
fprintf
(
fout
,
"
\\
i <fname> read and execute queries from filename
\n
"
);
fprintf
(
fout
,
"
\\
l list all databases
\n
"
);
fprintf
(
fout
,
"
\\
l list all databases
\n
"
);
fprintf
(
fout
,
"
\\
lo_export,
\\
lo_import,
\\
lo_list,
\\
lo_unlink
\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
,
"
\\
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
,
"
\\
p show the content of the current query buffer
\n
"
);
fprintf
(
fout
,
"
\\
pset [opt] set table output options
\n
"
);
fprintf
(
fout
,
"
\\
pset [opt] set table output options
\n
"
);
...
@@ -304,11 +304,10 @@ print_copyright(void)
...
@@ -304,11 +304,10 @@ print_copyright(void)
{
{
puts
(
puts
(
"PostgreSQL Data Base Management System
\n\n
"
"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
"
"This software is based on Postgres95, formerly known as Postgres, which
\n
"
"contains the following notice:
\n\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
"
"Permission to use, copy, modify, and distribute this software and its
\n
"
"documentation for any purpose, without fee, and without a written agreement
\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
"
"is hereby granted, provided that the above copyright notice and this paragraph
\n
"
...
...
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