Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Andreas wrote:
>> I expected for min_c_id in the second row 3.
> Which it is if you turn enable_indexscan to off ...
I think one of the subplans isn't getting re-evaluated when it should
be, which would be a botch in the extParam/parParam signaling. Not sure
yet if it's a planner or executor bug, but more likely the former.
regards, tom lane