Hi,
The last argument of create_foreignscan_path called by postgresGetForeignJoinPaths is
set to NULL, but it would be suitable to set it to NIL because the argument type is List.
Please find attached a patch.
Tatsuro Yamada
NTT Open Source Software Center