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

Commit4152c5b

Browse files
author
Nikita Glukhov
committed
Fix PG_RETURN_JSONB() definition
1 parent1e844b3 commit4152c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/utils/jsonb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ typedef enum
6868
#defineDatumGetJsonb(d)((Jsonb *) PG_DETOAST_DATUM(d))
6969
#defineJsonbGetDatum(p)PointerGetDatum(p)
7070
#definePG_GETARG_JSONB(x)DatumGetJsonb(PG_GETARG_DATUM(x))
71-
#definePG_RETURN_JSONB(x)PG_RETURN_POINTER(x)
71+
#definePG_RETURN_JSONB(x)PG_RETURN_DATUM(JsonbGetDatum(x))
7272

7373
typedefstructJsonbPairJsonbPair;
7474
typedefstructJsonbValueJsonbValue;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp