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
2aa8d0a8
Commit
2aa8d0a8
authored
Oct 18, 2004
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Might want to initialize the gettext library, if we're going to do all that
translation work.
parent
a465f24a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
src/bin/pg_config/pg_config.c
src/bin/pg_config/pg_config.c
+8
-6
No files found.
src/bin/pg_config/pg_config.c
View file @
2aa8d0a8
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
*
*
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/bin/pg_config/pg_config.c,v 1.
8 2004/10/10 23:37:34 neilc
Exp $
* $PostgreSQL: pgsql/src/bin/pg_config/pg_config.c,v 1.
9 2004/10/18 22:19:00 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#define _(x) gettext((x))
#define _(x) gettext((x))
static
char
*
progname
;
static
c
onst
c
har
*
progname
;
static
void
static
void
help
(
void
)
help
(
void
)
...
@@ -44,8 +44,8 @@ help(void)
...
@@ -44,8 +44,8 @@ help(void)
printf
(
_
(
" --libdir show location of object code libraries
\n
"
));
printf
(
_
(
" --libdir show location of object code libraries
\n
"
));
printf
(
_
(
" --pkglibdir show location of dynamically loadable modules
\n
"
));
printf
(
_
(
" --pkglibdir show location of dynamically loadable modules
\n
"
));
printf
(
_
(
" --pgxs show location of extension makefile
\n
"
));
printf
(
_
(
" --pgxs show location of extension makefile
\n
"
));
printf
(
_
(
" --configure show options given to
'configure'
script when
\n
"
printf
(
_
(
" --configure show options given to
\"
configure
\"
script when
\n
"
" PostgreSQL was built
\n
"
));
" PostgreSQL was built
\n
"
));
printf
(
_
(
" --version show the PostgreSQL version, then exit
\n
"
));
printf
(
_
(
" --version show the PostgreSQL version, then exit
\n
"
));
printf
(
_
(
" --help show this help, then exit
\n\n
"
));
printf
(
_
(
" --help show this help, then exit
\n\n
"
));
printf
(
_
(
"Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
printf
(
_
(
"Report bugs to <pgsql-bugs@postgresql.org>.
\n
"
));
...
@@ -66,7 +66,9 @@ main(int argc, char **argv)
...
@@ -66,7 +66,9 @@ main(int argc, char **argv)
char
mypath
[
MAXPGPATH
];
char
mypath
[
MAXPGPATH
];
char
otherpath
[
MAXPGPATH
];
char
otherpath
[
MAXPGPATH
];
progname
=
(
char
*
)
get_progname
(
argv
[
0
]);
set_pglocale_pgservice
(
argv
[
0
],
"pg_config"
);
progname
=
get_progname
(
argv
[
0
]);
if
(
argc
<
2
)
if
(
argc
<
2
)
{
{
...
@@ -108,7 +110,7 @@ main(int argc, char **argv)
...
@@ -108,7 +110,7 @@ main(int argc, char **argv)
if
(
ret
)
if
(
ret
)
{
{
fprintf
(
stderr
,
"%s: could not locate my own executable
\n
"
,
progname
);
fprintf
(
stderr
,
_
(
"%s: could not find own executable
\n
"
)
,
progname
);
exit
(
1
);
exit
(
1
);
}
}
...
...
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