Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
2562dcea
Commit
2562dcea
authored
Sep 20, 2011
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Suppress "unused function" warning when not HAVE_LOCALE_T.
Forgot to consider this case ...
parent
37d4fd2b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/utils/adt/pg_locale.c
+2
-0
2 additions, 0 deletions
src/backend/utils/adt/pg_locale.c
with
2 additions
and
0 deletions
src/backend/utils/adt/pg_locale.c
+
2
−
0
View file @
2562dcea
...
@@ -937,6 +937,7 @@ lc_ctype_is_c(Oid collation)
...
@@ -937,6 +937,7 @@ lc_ctype_is_c(Oid collation)
/* simple subroutine for reporting errors from newlocale() */
/* simple subroutine for reporting errors from newlocale() */
#ifdef HAVE_LOCALE_T
static
void
static
void
report_newlocale_failure
(
const
char
*
localename
)
report_newlocale_failure
(
const
char
*
localename
)
{
{
...
@@ -955,6 +956,7 @@ report_newlocale_failure(const char *localename)
...
@@ -955,6 +956,7 @@ report_newlocale_failure(const char *localename)
errdetail
(
"The operating system could not find any locale data for the locale name
\"
%s
\"
."
,
errdetail
(
"The operating system could not find any locale data for the locale name
\"
%s
\"
."
,
localename
)
:
0
)));
localename
)
:
0
)));
}
}
#endif
/* HAVE_LOCALE_T */
/*
/*
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment