Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me> writes:
> How about this one?
> 1 ERROR: could not find RelOptInfo for given relids
That would be a bug, for sure ...
> It's triggered on 13bba02271dce865cd20b6f49224889c73fed4e7 by this query
> and the attached one:
... but I can't reproduce it on HEAD with either of these queries.
Not clear why you're getting different results.
regards, tom lane