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

Commit2b60f86

Browse files
author
Nikita Glukhov
committed
Hide getJsonbOffset(), getJsonbLength()
1 parent9b56cc3 commit2b60f86

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
@@ -132,7 +132,7 @@ JsonbValueToJsonb(JsonbValue *val)
132132
* the variable-length-data part of its container. The node is identified
133133
* by index within the container's JEntry array.
134134
*/
135-
uint32
135+
staticuint32
136136
getJsonbOffset(constJsonbContainer*jc,intindex)
137137
{
138138
uint32offset=0;
@@ -157,7 +157,7 @@ getJsonbOffset(const JsonbContainer *jc, int index)
157157
* Get the length of the variable-length portion of a Jsonb node.
158158
* The node is identified by index within the container's JEntry array.
159159
*/
160-
uint32
160+
staticuint32
161161
getJsonbLength(constJsonbContainer*jc,intindex)
162162
{
163163
uint32off;

‎src/include/utils/jsonb.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,6 @@ typedef enum/* type categories for datum_to_jsonb */
394394
}JsonbTypeCategory;
395395

396396
/* Support functions */
397-
externuint32getJsonbOffset(constJsonbContainer*jc,intindex);
398-
externuint32getJsonbLength(constJsonbContainer*jc,intindex);
399397
externintcompareJsonbContainers(JsonbContainer*a,JsonbContainer*b);
400398
externJsonbValue*findJsonbValueFromContainer(JsonbContainer*sheader,
401399
uint32flags,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp