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
2ea31fab
Commit
2ea31fab
authored
Feb 02, 2000
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
c823143f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+4
-12
No files found.
src/bin/pg_dump/pg_dump.c
View file @
2ea31fab
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.14
1 2000/01/29 16:58:44
petere Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.14
2 2000/02/02 13:20:15
petere Exp $
*
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
*
...
@@ -127,7 +127,7 @@ char g_comment_end[10];
...
@@ -127,7 +127,7 @@ char g_comment_end[10];
static
void
static
void
help
(
const
char
*
progname
)
help
(
const
char
*
progname
)
{
{
printf
(
"%s dumps a database
to
a text file.
\n\n
"
,
progname
);
printf
(
"%s dumps a database
as
a text file.
\n\n
"
,
progname
);
puts
(
"Usage:"
);
puts
(
"Usage:"
);
printf
(
" %s [options] dbname
\n\n
"
,
progname
);
printf
(
" %s [options] dbname
\n\n
"
,
progname
);
puts
(
"Options:"
);
puts
(
"Options:"
);
...
@@ -589,13 +589,6 @@ main(int argc, char **argv)
...
@@ -589,13 +589,6 @@ main(int argc, char **argv)
else
else
progname
=
strrchr
(
argv
[
0
],
SEP_CHAR
)
+
1
;
progname
=
strrchr
(
argv
[
0
],
SEP_CHAR
)
+
1
;
/*
* A note on options:
*
* The -f option was yanked because in the rest of the world (and
* PostgreSQL) it specifies an *input* file. You can use the shell's
* output redirection to achieve the same.
*/
#ifdef HAVE_GETOPT_LONG
#ifdef HAVE_GETOPT_LONG
while
((
c
=
getopt_long
(
argc
,
argv
,
"acdDf:h:nNop:st:uvxzV?"
,
long_options
,
&
optindex
))
!=
-
1
)
while
((
c
=
getopt_long
(
argc
,
argv
,
"acdDf:h:nNop:st:uvxzV?"
,
long_options
,
&
optindex
))
!=
-
1
)
...
@@ -621,9 +614,8 @@ main(int argc, char **argv)
...
@@ -621,9 +614,8 @@ main(int argc, char **argv)
attrNames
=
true
;
attrNames
=
true
;
break
;
break
;
case
'f'
:
case
'f'
:
fprintf
(
stderr
,
"%s: The -f option is obsolete. You can achieve the same by writing %s > %s.
\n
"
,
filename
=
optarg
;
progname
,
progname
,
optarg
);
break
;
exit
(
1
);
case
'h'
:
/* server host */
case
'h'
:
/* server host */
pghost
=
optarg
;
pghost
=
optarg
;
break
;
break
;
...
...
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