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
962a94bb
Commit
962a94bb
authored
Jun 01, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More locale fixes for pg_ctl.
parent
a0d6e29e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_ctl/pg_ctl.c
+4
-2
src/nls-global.mk
src/nls-global.mk
+5
-5
No files found.
src/bin/pg_ctl/pg_ctl.c
View file @
962a94bb
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
*
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.
3 2004/06/01 01:28:03
momjian Exp $
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.
4 2004/06/01 03:32:42
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
#include "postgres_fe.h"
#include "postgres_fe.h"
#include "libpq-fe.h"
#include "libpq-fe.h"
#include <locale.h>
#include <signal.h>
#include <signal.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/types.h>
...
@@ -402,7 +403,8 @@ do_start(void)
...
@@ -402,7 +403,8 @@ do_start(void)
if
(
ret
==
-
1
)
if
(
ret
==
-
1
)
fprintf
(
stderr
,
fprintf
(
stderr
,
_
(
"The program
\"
postmaster
\"
is needed by %s "
_
(
"The program
\"
postmaster
\"
is needed by %s "
"but was not found in the same directory as
\"
%s
\"
.
\n
"
"but was not found in the same directory as "
"
\"
%s
\"
.
\n
"
"Check your installation.
\n
"
),
"Check your installation.
\n
"
),
progname
,
progname
);
progname
,
progname
);
else
else
...
...
src/nls-global.mk
View file @
962a94bb
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.
9 2003/11/29 19:51:39 pgsql
Exp $
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.
10 2004/06/01 03:32:28 momjian
Exp $
# Common rules for Native Language Support (NLS)
# Common rules for Native Language Support (NLS)
#
#
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
# needs to contain a file 'nls.mk' with the following make variable
# needs to contain a file 'nls.mk' with the following make variable
# assignments:
# assignments:
#
#
# CATALOG_NAME
-- name of the message catalog (xxx.po); probably
# CATALOG_NAME
-- name of the message catalog (xxx.po); probably
#
name of the program
#
name of the program
# AVAIL_LANGUAGES -- list of languages that are provided/supported
# AVAIL_LANGUAGES -- list of languages that are provided/supported
# GETTEXT_FILES
-- list of source files that contain message strings
# GETTEXT_FILES
-- list of source files that contain message strings
# GETTEXT_TRIGGERS
-- (optional) list of functions that contain
# GETTEXT_TRIGGERS
-- (optional) list of functions that contain
# translatable strings
# translatable strings
#
#
# That's all, the rest is done here, if --enable-nls was specified.
# That's all, the rest is done here, if --enable-nls was specified.
...
...
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