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

Commit960afef

Browse files
author
Nikita Glukhov
committed
Remove Jsont
1 parent05a0c83 commit960afef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎src/include/utils/json_generic.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,9 @@ typedef struct Json
9797

9898
#undef PG_RETURN_JSONB_P
9999
#definePG_RETURN_JSONB_P(x)PG_RETURN_DATUM(JsonbPGetDatum(x))
100-
#definePG_RETURN_JSONT_P(x)PG_RETURN_DATUM(JsontPGetDatum(x))
101100

102101
#undefPG_GETARG_JSONB_P
103102
#definePG_GETARG_JSONB_P(n)DatumGetJson(PG_GETARG_DATUM(n), &jsonbContainerOps, alloca(sizeof(Json)))/* FIXME conditional alloca() */
104-
#definePG_GETARG_JSONT_P(n)DatumGetJsontP(PG_GETARG_DATUM(n))
105103

106104
#definePG_FREE_IF_COPY_JSONB(json,n) JsonFree(json)
107105

@@ -309,6 +307,5 @@ extern int lengthCompareJsonbString(const char *val1, int len1,
309307
constchar*val2,intlen2);
310308

311309
externJsonContainerOpsjsonbContainerOps;
312-
externJsonContainerOpsjsontContainerOps;
313310

314311
#endif/* UTILS_JSON_GENERIC_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp