>>>>> "Andreas" == Andreas Seltenreich <seltenreich(at)gmx(dot)de> writes:
Andreas> testing master at f0e44021df with a loopback postgres_fdw Andreas> installed, I see lots of crashes on queries joining foreign Andreas> tables with various expressions. Below is a reduced recipe Andreas> for the regression database and a backtrace.
Commit ac2b095088 assumes that clauselist_selectivity is being passed a list of RelOptInfo, but postgres_fdw is passing it a list of bare clauses. One of them is wrong :-)