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
8de72414
Commit
8de72414
authored
Jun 11, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the -h client flag can use a socket directory as well as a host
name.
parent
b83f711d
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
26 additions
and
26 deletions
+26
-26
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+2
-2
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_dump/pg_dumpall.c
+2
-2
src/bin/pg_dump/pg_restore.c
src/bin/pg_dump/pg_restore.c
+2
-2
src/bin/psql/help.c
src/bin/psql/help.c
+2
-2
src/bin/scripts/clusterdb
src/bin/scripts/clusterdb
+2
-2
src/bin/scripts/createdb.c
src/bin/scripts/createdb.c
+2
-2
src/bin/scripts/createlang.c
src/bin/scripts/createlang.c
+2
-2
src/bin/scripts/createuser.c
src/bin/scripts/createuser.c
+2
-2
src/bin/scripts/dropdb.c
src/bin/scripts/dropdb.c
+2
-2
src/bin/scripts/droplang.c
src/bin/scripts/droplang.c
+2
-2
src/bin/scripts/dropuser.c
src/bin/scripts/dropuser.c
+4
-4
src/bin/scripts/vacuumdb
src/bin/scripts/vacuumdb
+2
-2
No files found.
src/bin/pg_dump/pg_dump.c
View file @
8de72414
...
...
@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.33
1 2003/05/30 22:55:15 tgl
Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.33
2 2003/06/11 05:13:08 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -694,7 +694,7 @@ help(const char *progname)
" disable triggers during data-only restore
\n
"
));
printf
(
_
(
"
\n
Connection options:
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
name
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port number
\n
"
));
printf
(
_
(
" -U, --username=NAME connect as specified database user
\n
"
));
printf
(
_
(
" -W, --password force password prompt (should happen automatically)
\n
"
));
...
...
src/bin/pg_dump/pg_dumpall.c
View file @
8de72414
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.2
0 2003/05/30 23:55:10 tgl
Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.2
1 2003/06/11 05:13:11 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -253,7 +253,7 @@ help(void)
printf
(
_
(
" --version output version information, then exit
\n
"
));
printf
(
_
(
"
\n
Connection options:
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
name
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port number
\n
"
));
printf
(
_
(
" -U, --username=NAME connect as specified database user
\n
"
));
printf
(
_
(
" -W, --password force password prompt (should happen automatically)
\n
"
));
...
...
src/bin/pg_dump/pg_restore.c
View file @
8de72414
...
...
@@ -34,7 +34,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_restore.c,v 1.4
5 2003/04/04 20:42:13
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_restore.c,v 1.4
6 2003/06/11 05:13:11
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -409,7 +409,7 @@ usage(const char *progname)
" disable triggers during data-only restore
\n
"
));
printf
(
_
(
"
\n
Connection options:
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
name
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port number
\n
"
));
printf
(
_
(
" -U, --username=NAME connect as specified database user
\n
"
));
printf
(
_
(
" -W, --password force password prompt (should happen automatically)
\n
"
));
...
...
src/bin/psql/help.c
View file @
8de72414
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.7
2 2003/04/14 16:23:36
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.7
3 2003/06/11 05:13:11
momjian Exp $
*/
#include "postgres_fe.h"
#include "common.h"
...
...
@@ -123,7 +123,7 @@ usage(void)
puts
(
_
(
"
\n
Connection options:"
));
/* Display default host */
env
=
getenv
(
"PGHOST"
);
printf
(
_
(
" -h HOSTNAME specify database server host (default: %s)
\n
"
),
printf
(
_
(
" -h HOSTNAME specify database server host
or socket directory
(default: %s)
\n
"
),
env
?
env
:
_
(
"local socket"
));
/* Display default port */
env
=
getenv
(
"PGPORT"
);
...
...
src/bin/scripts/clusterdb
View file @
8de72414
...
...
@@ -11,7 +11,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/clusterdb,v 1.1
1 2003/05/14 03:26:03 tgl
Exp $
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/clusterdb,v 1.1
2 2003/06/11 05:13:12 momjian
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -123,7 +123,7 @@ if [ "$usage" ]; then
echo
" --help show this help, then exit"
echo
echo
"Connection options:"
echo
" -h, --host=HOSTNAME database server host"
echo
" -h, --host=HOSTNAME database server host
or socket directory
"
echo
" -p, --port=PORT database server port"
echo
" -U, --username=USERNAME user name to connect as"
echo
" -W, --password prompt for password"
...
...
src/bin/scripts/createdb.c
View file @
8de72414
...
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/bin/scripts/createdb.c,v 1.
2 2003/05/14 03:26:03 tgl
Exp $
* $Header: /cvsroot/pgsql/src/bin/scripts/createdb.c,v 1.
3 2003/06/11 05:13:12 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -223,7 +223,7 @@ help(const char *progname)
printf
(
_
(
" --help show this help, then exit
\n
"
));
printf
(
_
(
" --version output version information, then exit
\n
"
));
printf
(
_
(
"
\n
Connection options:
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port
\n
"
));
printf
(
_
(
" -U, --username=USERNAME user name to connect as
\n
"
));
printf
(
_
(
" -W, --password prompt for password
\n
"
));
...
...
src/bin/scripts/createlang.c
View file @
8de72414
...
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/bin/scripts/createlang.c,v 1.
2 2003/05/14 03:26:03 tgl
Exp $
* $Header: /cvsroot/pgsql/src/bin/scripts/createlang.c,v 1.
3 2003/06/11 05:13:12 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -276,7 +276,7 @@ help(const char *progname)
printf
(
_
(
" -e, --echo show the commands being sent to the server
\n
"
));
printf
(
_
(
" -l, --list show a list of currently installed languages
\n
"
));
printf
(
_
(
" -L, --pglib=DIRECTORY find language interpreter file in DIRECTORY
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port
\n
"
));
printf
(
_
(
" -U, --username=USERNAME user name to connect as
\n
"
));
printf
(
_
(
" -W, --password prompt for password
\n
"
));
...
...
src/bin/scripts/createuser.c
View file @
8de72414
...
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/bin/scripts/createuser.c,v 1.
3 2003/05/27 19:36:54 petere
Exp $
* $Header: /cvsroot/pgsql/src/bin/scripts/createuser.c,v 1.
4 2003/06/11 05:13:12 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -248,7 +248,7 @@ help(const char *progname)
printf
(
_
(
" --help show this help, then exit
\n
"
));
printf
(
_
(
" --version output version information, then exit
\n
"
));
printf
(
_
(
"
\n
Connection options:
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port
\n
"
));
printf
(
_
(
" -U, --username=USERNAME user name to connect as (not the one to create)
\n
"
));
printf
(
_
(
" -W, --password prompt for password to connect
\n
"
));
...
...
src/bin/scripts/dropdb.c
View file @
8de72414
...
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/bin/scripts/dropdb.c,v 1.
3 2003/05/27 19:36:54 petere
Exp $
* $Header: /cvsroot/pgsql/src/bin/scripts/dropdb.c,v 1.
4 2003/06/11 05:13:12 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -146,7 +146,7 @@ help(const char *progname)
printf
(
_
(
" -e, --echo show the commands being sent to the server
\n
"
));
printf
(
_
(
" -i, --interactive prompt before deleting anything
\n
"
));
printf
(
_
(
" -q, --quiet don't write any messages
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port
\n
"
));
printf
(
_
(
" -U, --username=USERNAME user name to connect as
\n
"
));
printf
(
_
(
" -W, --password prompt for password
\n
"
));
...
...
src/bin/scripts/droplang.c
View file @
8de72414
...
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/bin/scripts/droplang.c,v 1.
2 2003/05/14 03:26:03 tgl
Exp $
* $Header: /cvsroot/pgsql/src/bin/scripts/droplang.c,v 1.
3 2003/06/11 05:13:12 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -244,7 +244,7 @@ help(const char *progname)
printf
(
_
(
" -d, --dbname=DBNAME database to install language in
\n
"
));
printf
(
_
(
" -e, --echo show the commands being sent to the server
\n
"
));
printf
(
_
(
" -l, --list show a list of currently installed languages
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port
\n
"
));
printf
(
_
(
" -U, --username=USERNAME user name to connect as
\n
"
));
printf
(
_
(
" -W, --password prompt for password
\n
"
));
...
...
src/bin/scripts/dropuser.c
View file @
8de72414
...
...
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/bin/scripts/dropuser.c,v 1.
3 2003/05/27 19:36:55 petere
Exp $
* $Header: /cvsroot/pgsql/src/bin/scripts/dropuser.c,v 1.
4 2003/06/11 05:13:12 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -146,7 +146,7 @@ help(const char *progname)
printf
(
_
(
" -e, --echo show the commands being sent to the server
\n
"
));
printf
(
_
(
" -i, --interactive prompt before deleting anything
\n
"
));
printf
(
_
(
" -q, --quiet don't write any messages
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
\n
"
));
printf
(
_
(
" -h, --host=HOSTNAME database server host
or socket directory
\n
"
));
printf
(
_
(
" -p, --port=PORT database server port
\n
"
));
printf
(
_
(
" -U, --username=USERNAME user name to connect as (not the one to drop)
\n
"
));
printf
(
_
(
" -W, --password prompt for password to connect
\n
"
));
...
...
src/bin/scripts/vacuumdb
View file @
8de72414
...
...
@@ -12,7 +12,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.2
7 2003/05/14 03:26:03 tgl
Exp $
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.2
8 2003/06/11 05:13:12 momjian
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -140,7 +140,7 @@ if [ "$usage" ]; then
echo
" --help show this help, then exit"
echo
echo
"Connection options:"
echo
" -h, --host=HOSTNAME database server host"
echo
" -h, --host=HOSTNAME database server host
or socket directory
"
echo
" -p, --port=PORT database server port"
echo
" -U, --username=USERNAME user name to connect as"
echo
" -W, --password prompt for password"
...
...
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