Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)