Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita4a7bfb

Browse files
author
Nikita Glukhov
committed
Hide getJsonbOffset(), getJsonbLength()
1 parent8818ad5 commita4a7bfb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎src/backend/utils/adt/jsonb_util.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ JsonbValueToJsonb(JsonbValue *val)
123123
* the variable-length-data part of its container. The node is identified
124124
* by index within the container's JEntry array.
125125
*/
126-
uint32
126+
staticuint32
127127
getJsonbOffset(constJsonbContainer*jc,intindex)
128128
{
129129
uint32offset=0;
@@ -148,7 +148,7 @@ getJsonbOffset(const JsonbContainer *jc, int index)
148148
* Get the length of the variable-length portion of a Jsonb node.
149149
* The node is identified by index within the container's JEntry array.
150150
*/
151-
uint32
151+
staticuint32
152152
getJsonbLength(constJsonbContainer*jc,intindex)
153153
{
154154
uint32off;

‎src/include/utils/jsonb.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,6 @@ typedef struct JsonbIterator
376376

377377

378378
/* Support functions */
379-
externuint32getJsonbOffset(constJsonbContainer*jc,intindex);
380-
externuint32getJsonbLength(constJsonbContainer*jc,intindex);
381379
externintcompareJsonbContainers(JsonbContainer*a,JsonbContainer*b);
382380
externJsonbValue*findJsonbValueFromContainer(JsonbContainer*sheader,
383381
uint32flags,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp