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

Commitda24961

Browse files
committed
Fix declarations of couple jsonpath functions
Make jsonb_path_query_array() and jsonb_path_query_first() usePG_FUNCTION_ARGS macro instead of its expansion.
1 parent87bcc02 commitda24961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/jsonpath_exec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ jsonb_path_query(PG_FUNCTION_ARGS)
413413
*jsonb array.
414414
*/
415415
Datum
416-
jsonb_path_query_array(FunctionCallInfofcinfo)
416+
jsonb_path_query_array(PG_FUNCTION_ARGS)
417417
{
418418
Jsonb*jb=PG_GETARG_JSONB_P(0);
419419
JsonPath*jp=PG_GETARG_JSONPATH_P(1);
@@ -432,7 +432,7 @@ jsonb_path_query_array(FunctionCallInfo fcinfo)
432432
*item. If there are no items, NULL returned.
433433
*/
434434
Datum
435-
jsonb_path_query_first(FunctionCallInfofcinfo)
435+
jsonb_path_query_first(PG_FUNCTION_ARGS)
436436
{
437437
Jsonb*jb=PG_GETARG_JSONB_P(0);
438438
JsonPath*jp=PG_GETARG_JSONPATH_P(1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp