Skip to content

Commit 9606d29

Browse files
author
Nikita Glukhov
committed
Extract enum JsonbValueType
1 parent 121792d commit 9606d29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/utils/jsonb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ typedef struct
233233
#define JB_ROOT_IS_ARRAY(jbp_) ((*(uint32 *) VARDATA(jbp_) & JB_FARRAY) != 0)
234234

235235

236-
enum jbvType
236+
typedef enum jbvType
237237
{
238238
/* Scalar types */
239239
jbvNull = 0x0,
@@ -253,7 +253,7 @@ enum jbvType
253253
* into JSON strings when outputted to json/jsonb.
254254
*/
255255
jbvDatetime = 0x20,
256-
};
256+
} JsonbValueType;
257257

258258
/*
259259
* JsonbValue: In-memory representation of Jsonb. This is a convenient

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