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

Commit66e90cf

Browse files
author
Nikita Glukhov
committed
Hide getJsonbOffset(), getJsonbLength()
1 parentd67ab24 commit66e90cf

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
@@ -117,7 +117,7 @@ JsonbValueToJsonb(JsonbValue *val)
117117
* the variable-length-data part of its container. The node is identified
118118
* by index within the container's JEntry array.
119119
*/
120-
uint32
120+
staticuint32
121121
getJsonbOffset(constJsonbContainer*jc,intindex)
122122
{
123123
uint32offset=0;
@@ -142,7 +142,7 @@ getJsonbOffset(const JsonbContainer *jc, int index)
142142
* Get the length of the variable-length portion of a Jsonb node.
143143
* The node is identified by index within the container's JEntry array.
144144
*/
145-
uint32
145+
staticuint32
146146
getJsonbLength(constJsonbContainer*jc,intindex)
147147
{
148148
uint32off;

‎src/include/utils/jsonb.h

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

354354

355355
/* Support functions */
356-
externuint32getJsonbOffset(constJsonbContainer*jc,intindex);
357-
externuint32getJsonbLength(constJsonbContainer*jc,intindex);
358356
externintcompareJsonbContainers(JsonbContainer*a,JsonbContainer*b);
359357
externJsonbValue*findJsonbValueFromContainer(JsonbContainer*sheader,
360358
uint32flags,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp