We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 913954e commit 7f35dabCopy full SHA for 7f35dab
src/include/utils/jsonb.h
@@ -73,7 +73,7 @@ typedef enum
73
#define JsonbPGetDatum(p) PointerGetDatum(p)
74
#define PG_GETARG_JSONB_P(x) DatumGetJsonbP(PG_GETARG_DATUM(x))
75
#define PG_GETARG_JSONB_P_COPY(x) DatumGetJsonbPCopy(PG_GETARG_DATUM(x))
76
-#define PG_RETURN_JSONB_P(x) PG_RETURN_POINTER(x)
+#define PG_RETURN_JSONB_P(x) PG_RETURN_DATUM(JsonbPGetDatum(x))
77
78
typedef struct JsonbPair JsonbPair;
79
typedef struct JsonbValue JsonbValue;
0 commit comments