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

Commit 960afef

Browse files
author
Nikita Glukhov
committed
Remove Jsont
1 parent 05a0c83 commit 960afef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/include/utils/json_generic.h

-3
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,9 @@ typedef struct Json
9797

9898
#undef PG_RETURN_JSONB_P
9999
#define PG_RETURN_JSONB_P(x) PG_RETURN_DATUM(JsonbPGetDatum(x))
100-
#define PG_RETURN_JSONT_P(x) PG_RETURN_DATUM(JsontPGetDatum(x))
101100

102101
#undef PG_GETARG_JSONB_P
103102
#define PG_GETARG_JSONB_P(n) DatumGetJson(PG_GETARG_DATUM(n), &jsonbContainerOps, alloca(sizeof(Json))) /* FIXME conditional alloca() */
104-
#define PG_GETARG_JSONT_P(n) DatumGetJsontP(PG_GETARG_DATUM(n))
105103

106104
#define PG_FREE_IF_COPY_JSONB(json, n) JsonFree(json)
107105

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

311309
extern JsonContainerOps jsonbContainerOps;
312-
extern JsonContainerOps jsontContainerOps;
313310

314311
#endif /* UTILS_JSON_GENERIC_H */

0 commit comments

Comments
 (0)