projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15334ad
)
Msvc doesn't know UINT16_MAX, replace with PG_UINT16_MAX.
author
Andres Freund
<
[email protected]
>
Wed, 4 Oct 2017 17:01:02 +0000
(10:01 -0700)
committer
Andres Freund
<
[email protected]
>
Wed, 4 Oct 2017 17:01:02 +0000
(10:01 -0700)
UINT16_MAX usage is originating from commit
212e6f34d55c
.
Per buildfarm animal currawong.
src/include/utils/fmgrtab.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/utils/fmgrtab.h
b/src/include/utils/fmgrtab.h
index 515a9d596afe5cf913d5f52d94bbcc4bd56107b7..4d06b02578e9f1533107d07d1ffdc19c1c961105 100644
(file)
--- a/
src/include/utils/fmgrtab.h
+++ b/
src/include/utils/fmgrtab.h
@@
-40,7
+40,7
@@
extern const int fmgr_nbuiltins; /* number of entries in table */
* Mapping from a builtin function's oid to the index in the fmgr_builtins
* array.
*/
-#define InvalidOidBuiltinMapping UINT16_MAX
+#define InvalidOidBuiltinMapping
PG_
UINT16_MAX
extern const uint16 fmgr_builtin_oid_index[FirstBootstrapObjectId];
#endif /* FMGRTAB_H */