Content-Length: 265301 | pFad | http://github.com/postgrespro/postgres_cluster/commit/0d9506d125beef18247a5e38a219d3b23e2d312e

91 Try to repair poorly-considered code in previous commit. · postgrespro/postgres_cluster@0d9506d · GitHub
Skip to content

Commit 0d9506d

Browse files
committed
Try to repair poorly-considered code in previous commit.
1 parent 81c5e46 commit 0d9506d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/jsonb_op.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,10 @@ jsonb_hash_extended(PG_FUNCTION_ARGS)
313313
{
314314
/* Rotation is left to JsonbHashScalarValueExtended() */
315315
case WJB_BEGIN_ARRAY:
316-
hash ^= ((UINT64CONST(JB_FARRAY) << 32) | UINT64CONST(JB_FARRAY));
316+
hash ^= ((uint64) JB_FARRAY) << 32 | JB_FARRAY;
317317
break;
318318
case WJB_BEGIN_OBJECT:
319-
hash ^= ((UINT64CONST(JB_FOBJECT) << 32) | UINT64CONST(JB_FOBJECT));
319+
hash ^= ((uint64) JB_FOBJECT) << 32 | JB_FOBJECT;
320320
break;
321321
case WJB_KEY:
322322
case WJB_VALUE:

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/0d9506d125beef18247a5e38a219d3b23e2d312e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy