Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5f29ef3

Browse files
feodorNikita Glukhov
authored and
Nikita Glukhov
committed
Add passing params to jsonpath
1 parent af5f001 commit 5f29ef3

File tree

8 files changed

+442
-85
lines changed

8 files changed

+442
-85
lines changed

src/backend/utils/adt/jsonpath.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "utils/json.h"
1919
#include "utils/jsonpath.h"
2020

21+
/*****************************INPUT/OUTPUT************************************/
2122
static int
2223
flattenJsonPathParseItem(StringInfo buf, JsonPathParseItem *item)
2324
{
@@ -272,9 +273,8 @@ jsonpath_out(PG_FUNCTION_ARGS)
272273
PG_RETURN_CSTRING(buf.data);
273274
}
274275

275-
/*
276-
* Support functions for JsonPath
277-
*/
276+
/********************Support functions for JsonPath****************************/
277+
278278
#define read_byte(v, b, p) do { \
279279
(v) = *(uint8*)((b) + (p)); \
280280
(p) += 1; \

0 commit comments

Comments
 (0)