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
2d5b16bb
Commit
2d5b16bb
authored
Oct 16, 2007
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove quotes around locale names in some places for consistency.
parent
59dc5d0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/bin/initdb/initdb.c
src/bin/initdb/initdb.c
+5
-5
No files found.
src/bin/initdb/initdb.c
View file @
2d5b16bb
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
* Portions taken from FreeBSD.
* Portions taken from FreeBSD.
*
*
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.14
5 2007/10/13 20:18:41 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.14
6 2007/10/16 09:09:11 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -2801,7 +2801,7 @@ main(int argc, char *argv[])
...
@@ -2801,7 +2801,7 @@ main(int argc, char *argv[])
pg_strcasecmp
(
lc_ctype
,
"POSIX"
)
==
0
))
pg_strcasecmp
(
lc_ctype
,
"POSIX"
)
==
0
))
{
{
/* Hmm, couldn't recognize the locale's codeset */
/* Hmm, couldn't recognize the locale's codeset */
fprintf
(
stderr
,
_
(
"%s: could not find suitable encoding for locale
\"
%s
\"
\n
"
),
fprintf
(
stderr
,
_
(
"%s: could not find suitable encoding for locale
%s
\n
"
),
progname
,
lc_ctype
);
progname
,
lc_ctype
);
fprintf
(
stderr
,
_
(
"Rerun %s with the -E option.
\n
"
),
progname
);
fprintf
(
stderr
,
_
(
"Rerun %s with the -E option.
\n
"
),
progname
);
fprintf
(
stderr
,
_
(
"Try
\"
%s --help
\"
for more information.
\n
"
),
fprintf
(
stderr
,
_
(
"Try
\"
%s --help
\"
for more information.
\n
"
),
...
@@ -2861,7 +2861,7 @@ main(int argc, char *argv[])
...
@@ -2861,7 +2861,7 @@ main(int argc, char *argv[])
default_text_search_config
=
find_matching_ts_config
(
lc_ctype
);
default_text_search_config
=
find_matching_ts_config
(
lc_ctype
);
if
(
default_text_search_config
==
NULL
)
if
(
default_text_search_config
==
NULL
)
{
{
printf
(
_
(
"%s: could not find suitable text search configuration for locale
\"
%s
\"
\n
"
),
printf
(
_
(
"%s: could not find suitable text search configuration for locale
%s
\n
"
),
progname
,
lc_ctype
);
progname
,
lc_ctype
);
default_text_search_config
=
"simple"
;
default_text_search_config
=
"simple"
;
}
}
...
@@ -2872,12 +2872,12 @@ main(int argc, char *argv[])
...
@@ -2872,12 +2872,12 @@ main(int argc, char *argv[])
if
(
checkmatch
==
NULL
)
if
(
checkmatch
==
NULL
)
{
{
printf
(
_
(
"%s: warning: suitable text search configuration for locale
\"
%s
\"
is unknown
\n
"
),
printf
(
_
(
"%s: warning: suitable text search configuration for locale
%s
is unknown
\n
"
),
progname
,
lc_ctype
);
progname
,
lc_ctype
);
}
}
else
if
(
strcmp
(
checkmatch
,
default_text_search_config
)
!=
0
)
else
if
(
strcmp
(
checkmatch
,
default_text_search_config
)
!=
0
)
{
{
printf
(
_
(
"%s: warning: specified text search configuration
\"
%s
\"
might not match locale
\"
%s
\"
\n
"
),
printf
(
_
(
"%s: warning: specified text search configuration
\"
%s
\"
might not match locale
%s
\n
"
),
progname
,
default_text_search_config
,
lc_ctype
);
progname
,
default_text_search_config
,
lc_ctype
);
}
}
}
}
...
...
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