mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Use NIL instead of NULL for an empty List.
Tatsuro Yamada, reviewed by Ashutosh Bapat
This commit is contained in:
parent
274bb2b385
commit
c6ff380e38
@ -4431,7 +4431,7 @@ postgresGetForeignJoinPaths(PlannerInfo *root,
|
|||||||
NIL, /* no pathkeys */
|
NIL, /* no pathkeys */
|
||||||
NULL, /* no required_outer */
|
NULL, /* no required_outer */
|
||||||
epq_path,
|
epq_path,
|
||||||
NULL); /* no fdw_private */
|
NIL); /* no fdw_private */
|
||||||
|
|
||||||
/* Add generated path into joinrel by add_path(). */
|
/* Add generated path into joinrel by add_path(). */
|
||||||
add_path(joinrel, (Path *) joinpath);
|
add_path(joinrel, (Path *) joinpath);
|
||||||
@ -4748,7 +4748,7 @@ add_foreign_grouping_paths(PlannerInfo *root, RelOptInfo *input_rel,
|
|||||||
NIL, /* no pathkeys */
|
NIL, /* no pathkeys */
|
||||||
NULL, /* no required_outer */
|
NULL, /* no required_outer */
|
||||||
NULL,
|
NULL,
|
||||||
NULL); /* no fdw_private */
|
NIL); /* no fdw_private */
|
||||||
|
|
||||||
/* Add generated path into grouped_rel by add_path(). */
|
/* Add generated path into grouped_rel by add_path(). */
|
||||||
add_path(grouped_rel, (Path *) grouppath);
|
add_path(grouped_rel, (Path *) grouppath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user