Use NIL instead of NULL for an empty List.

Tatsuro Yamada, reviewed by Ashutosh Bapat
This commit is contained in:
Robert Haas 2016-11-03 11:24:01 -04:00
parent 274bb2b385
commit c6ff380e38
1 changed files with 2 additions and 2 deletions

View File

@ -4431,7 +4431,7 @@ postgresGetForeignJoinPaths(PlannerInfo *root,
NIL, /* no pathkeys */
NULL, /* no required_outer */
epq_path,
NULL); /* no fdw_private */
NIL); /* no fdw_private */
/* Add generated path into joinrel by add_path(). */
add_path(joinrel, (Path *) joinpath);
@ -4748,7 +4748,7 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
NIL, /* no pathkeys */
NULL, /* no required_outer */
NULL,
NULL); /* no fdw_private */
NIL); /* no fdw_private */
/* Add generated path into grouped_rel by add_path(). */
add_path(grouped_rel, (Path *) grouppath);