Skip site navigation (1) Skip section navigation (2)

Re: BUG #4290: wrong double subselect with aggregatefunction

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andreas <postgresql(at)elbrief(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4290: wrong double subselect with aggregatefunction
Date: 2008-07-09 16:06:46
Message-ID: 20080709160646.GE3946@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Andreas wrote:

>  min_c_id | b_aid | min_c_id_1 | min_c_id_2
> ----------+-------+------------+------------
>         1 |     1 |          1 |          3
>         1 |     2 |          1 |          3
> 
> I expected for min_c_id in the second row 3.

Which it is if you turn enable_indexscan to off ...

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2008-07-09 16:42:14
Subject: Re: BUG #4290: wrong double subselect with aggregate function
Previous:From: AndreasDate: 2008-07-09 15:42:24
Subject: BUG #4290: wrong double subselect with aggregate function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group