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
In response to
pgsql-bugs by date
|Next:||From: Tom Lane||Date: 2008-07-09 18:52:04|
|Subject: Re: BUG #4290: wrong double subselect with aggregate function |
|Previous:||From: Alvaro Herrera||Date: 2008-07-09 16:06:46|
|Subject: Re: BUG #4290: wrong double subselect with aggregatefunction|