Skip to content

Commit 5e9e24f

Browse files
author
Nikita Glukhov
committed
Add custom toaster encoders to jsonbz
1 parent 33e2b76 commit 5e9e24f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/utils/adt/jsonb_util.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2624,6 +2624,7 @@ jsonbzInitContainer(JsonContainerData *jc, CompressedJsonb *cjb, int len)
26242624

26252625
jc->ops = &jsonbzContainerOps;
26262626
jc->len = len;
2627+
jc->toasterid = InvalidOid;
26272628
jsonbInitContainerFromHeader(jc, jbc);
26282629
}
26292630

@@ -3007,6 +3008,7 @@ jsonbzContainerOps =
30073008
JsonbToCStringRaw,
30083009
JsonCopyFlat, // FIXME
30093010
jsonbzFree,
3011+
NULL
30103012
};
30113013

30123014
Json *

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