Skip to content

Commit b431692

Browse files
committed
Fix incorrect typecast.
Ashutosh Sharma, per a report from Mithun Cy. Discussion: http://postgr.es/m/CAD__OujgqNNnCujeFTmKpjNu+W4smS8Hbi=RcWAhf1ZUs3H4WA@mail.gmail.com
1 parent acf555b commit b431692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pageinspect/hashfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ hash_metapage_info(PG_FUNCTION_ARGS)
541541
values[j++] = ObjectIdGetDatum((Oid) metad->hashm_procid);
542542

543543
for (i = 0; i < HASH_MAX_SPLITPOINTS; i++)
544-
spares[i] = Int64GetDatum((int8) metad->hashm_spares[i]);
544+
spares[i] = Int64GetDatum((int64) metad->hashm_spares[i]);
545545
values[j++] = PointerGetDatum(construct_array(spares,
546546
HASH_MAX_SPLITPOINTS,
547547
INT8OID,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy