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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
7176e60b
Commit
7176e60b
authored
17 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Silence Solaris compiler warnings, per buildfarm.
parent
10a91e0a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/tsearch2/query_cleanup.c
+3
-0
3 additions, 0 deletions
contrib/tsearch2/query_cleanup.c
contrib/tsearch2/query_support.c
+5
-4
5 additions, 4 deletions
contrib/tsearch2/query_support.c
with
8 additions
and
4 deletions
contrib/tsearch2/query_cleanup.c
+
3
−
0
View file @
7176e60b
...
...
@@ -173,6 +173,9 @@ clean_NOT_v2(ITEM * ptr, int4 *len)
#ifdef V_UNKNOWN
/* exists in Windows headers */
#undef V_UNKNOWN
#endif
#ifdef V_FALSE
/* exists in Solaris headers */
#undef V_FALSE
#endif
#define V_UNKNOWN 0
#define V_TRUE 1
...
...
This diff is collapsed.
Click to expand it.
contrib/tsearch2/query_support.c
+
5
−
4
View file @
7176e60b
...
...
@@ -180,9 +180,8 @@ tsquery_cmp(PG_FUNCTION_ARGS)
PG_RETURN_INT32
(
res
);
}
#define CMPFUNC( NAME, ACTION ) \
PG_FUNCTION_INFO_V1(NAME); \
Datum NAME(PG_FUNCTION_ARGS); \
#define CMPFUNC( NAME, ACTION ) \
Datum NAME(PG_FUNCTION_ARGS); \
\
Datum \
NAME(PG_FUNCTION_ARGS) { \
...
...
@@ -194,7 +193,9 @@ NAME(PG_FUNCTION_ARGS) { \
PG_FREE_IF_COPY(b,1); \
\
PG_RETURN_BOOL( ACTION ); \
}
} \
\
PG_FUNCTION_INFO_V1(NAME)
CMPFUNC
(
tsquery_lt
,
res
<
0
);
CMPFUNC
(
tsquery_le
,
res
<=
0
);
...
...
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