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
33a71012
Commit
33a71012
authored
Oct 07, 2012
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quiet a few MSC compiler warnings.
parent
7e2f8ed2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
src/backend/catalog/objectaddress.c
src/backend/catalog/objectaddress.c
+2
-0
src/backend/optimizer/path/costsize.c
src/backend/optimizer/path/costsize.c
+3
-0
src/backend/utils/adt/array_selfuncs.c
src/backend/utils/adt/array_selfuncs.c
+1
-1
src/interfaces/ecpg/ecpglib/typename.c
src/interfaces/ecpg/ecpglib/typename.c
+1
-0
No files found.
src/backend/catalog/objectaddress.c
View file @
33a71012
...
@@ -1360,4 +1360,6 @@ get_object_property_data(Oid class_id)
...
@@ -1360,4 +1360,6 @@ get_object_property_data(Oid class_id)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errmsg_internal
(
"unrecognized class id: %u"
,
class_id
)));
(
errmsg_internal
(
"unrecognized class id: %u"
,
class_id
)));
return
NULL
;
/* keep MSC compiler happy */
}
}
src/backend/optimizer/path/costsize.c
View file @
33a71012
...
@@ -68,6 +68,9 @@
...
@@ -68,6 +68,9 @@
#include "postgres.h"
#include "postgres.h"
#ifdef _MSCVER
#include <float.h>
/* for _isnan */
#endif
#include <math.h>
#include <math.h>
#include "access/htup_details.h"
#include "access/htup_details.h"
...
...
src/backend/utils/adt/array_selfuncs.c
View file @
33a71012
...
@@ -571,7 +571,7 @@ mcelem_array_contain_overlap_selec(Datum *mcelem, int nmcelem,
...
@@ -571,7 +571,7 @@ mcelem_array_contain_overlap_selec(Datum *mcelem, int nmcelem,
else
else
{
{
/* Without statistics make some default assumptions */
/* Without statistics make some default assumptions */
minfreq
=
2
*
DEFAULT_CONTAIN_SEL
;
minfreq
=
2
*
(
float4
)
DEFAULT_CONTAIN_SEL
;
}
}
/* Decide whether it is faster to use binary search or not. */
/* Decide whether it is faster to use binary search or not. */
...
...
src/interfaces/ecpg/ecpglib/typename.c
View file @
33a71012
...
@@ -65,6 +65,7 @@ ecpg_type_name(enum ECPGttype typ)
...
@@ -65,6 +65,7 @@ ecpg_type_name(enum ECPGttype typ)
default:
default:
abort
();
abort
();
}
}
return
""
;
/* keep MSC compiler happy */
}
}
int
int
...
...
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