Skip to content

Commit 7beaa1e

Browse files
author
Nikita Glukhov
committed
fixup! Add jsonb partial decompression
1 parent 24d0fe1 commit 7beaa1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/jsonb_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2547,7 +2547,7 @@ CompressedDatumDecompress(CompressedDatum *cd, Size offset)
25472547
{
25482548
int res;
25492549

2550-
if (!cd->compressed || offset < cd->decompressed_len)
2550+
if (!cd->compressed || offset <= cd->decompressed_len)
25512551
return;
25522552

25532553
#if 0

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