Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6ff380

Browse files
committed
Use NIL instead of NULL for an empty List.
Tatsuro Yamada, reviewed by Ashutosh Bapat
1 parent 274bb2b commit c6ff380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/postgres_fdw/postgres_fdw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4431,7 +4431,7 @@ postgresGetForeignJoinPaths(PlannerInfo *root,
44314431
NIL, /* no pathkeys */
44324432
NULL, /* no required_outer */
44334433
epq_path,
4434-
NULL); /* no fdw_private */
4434+
NIL); /* no fdw_private */
44354435

44364436
/* Add generated path into joinrel by add_path(). */
44374437
add_path(joinrel, (Path *) joinpath);
@@ -4748,7 +4748,7 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
47484748
NIL, /* no pathkeys */
47494749
NULL, /* no required_outer */
47504750
NULL,
4751-
NULL); /* no fdw_private */
4751+
NIL); /* no fdw_private */
47524752

47534753
/* Add generated path into grouped_rel by add_path(). */
47544754
add_path(grouped_rel, (Path *) grouppath);

0 commit comments

Comments
 (0)