Skip to content

Commit bb07860

Browse files
author
Nikita Glukhov
committed
Add typedef JsonbContainerHdr
1 parent 8e49135 commit bb07860

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/include/utils/jsonb_internals.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ typedef uint32 JEntry;
121121
*/
122122
#define JB_OFFSET_STRIDE 32
123123

124+
typedef uint32 JsonbContainerHdr;
125+
124126
/*
125127
* A jsonb array or object node, within a Jsonb Datum.
126128
*
@@ -133,8 +135,8 @@ typedef uint32 JEntry;
133135
*/
134136
typedef struct JsonbContainerHeader
135137
{
136-
uint32 header; /* number of elements or key/value pairs, and
137-
* flags */
138+
JsonbContainerHdr header; /* number of elements or key/value
139+
* pairs, and flags */
138140
JEntry children[FLEXIBLE_ARRAY_MEMBER];
139141

140142
/* the data for each child node follows. */

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