Content-Length: 257386 | pFad | http://github.com/postgrespro/postgres/commit/7beaa1e9127f3f29de2077d5b052d9accbba1f5d

60 fixup! Add jsonb partial decompression · postgrespro/postgres@7beaa1e · GitHub
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)








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/commit/7beaa1e9127f3f29de2077d5b052d9accbba1f5d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy