projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf555b
)
Fix incorrect typecast.
author
Robert Haas
<rhaas@postgresql.org>
Wed, 22 Feb 2017 06:35:42 +0000
(12:05 +0530)
committer
Robert Haas
<rhaas@postgresql.org>
Wed, 22 Feb 2017 06:35:42 +0000
(12:05 +0530)
Ashutosh Sharma, per a report from Mithun Cy.
Discussion: http://postgr.es/m/CAD__OujgqNNnCujeFTmKpjNu+W4smS8Hbi=RcWAhf1ZUs3H4WA@mail.gmail.com
contrib/pageinspect/hashfuncs.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pageinspect/hashfuncs.c
b/contrib/pageinspect/hashfuncs.c
index 88c807af5b29d5f419ffc9ad774e6320f6b5cc85..812a03f12145c6eacb919cd7cbd66421ff4bf169 100644
(file)
--- a/
contrib/pageinspect/hashfuncs.c
+++ b/
contrib/pageinspect/hashfuncs.c
@@
-541,7
+541,7
@@
hash_metapage_info(PG_FUNCTION_ARGS)
values[j++] = ObjectIdGetDatum((Oid) metad->hashm_procid);
for (i = 0; i < HASH_MAX_SPLITPOINTS; i++)
- spares[i] = Int64GetDatum((int
8
) metad->hashm_spares[i]);
+ spares[i] = Int64GetDatum((int
64
) metad->hashm_spares[i]);
values[j++] = PointerGetDatum(construct_array(spares,
HASH_MAX_SPLITPOINTS,
INT8OID,