aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-11-03 11:24:01 -0400
committerRobert Haas <rhaas@postgresql.org>2016-11-03 11:24:01 -0400
commitc6ff380e380686fd6b3bd056ccd09ea469f1267c (patch)
treefb8786a078911f959dc27f14089473a4ba0ccf5d /contrib/postgres_fdw/postgres_fdw.c
parent274bb2b3857cc987cfa21d14775cae9b0dababa5 (diff)
downloadpostgresql-c6ff380e380686fd6b3bd056ccd09ea469f1267c.tar.gz
postgresql-c6ff380e380686fd6b3bd056ccd09ea469f1267c.zip
Use NIL instead of NULL for an empty List.
Tatsuro Yamada, reviewed by Ashutosh Bapat
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
-rw-r--r--contrib/postgres_fdw/postgres_fdw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c
index 906d6e6abd4..2cfb82bf598 100644
--- a/contrib/postgres_fdw/postgres_fdw.c
+++ b/contrib/postgres_fdw/postgres_fdw.c
@@ -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);