Re: bug with aggregate + multi column index + index_scan - Mailing list pgsql-bugs

From Tom Lane
Subject Re: bug with aggregate + multi column index + index_scan
Date
Msg-id 9391.1138561099@sss.pgh.pa.us
Whole thread Raw
In response to bug with aggregate + multi column index + index_scan  (Brian Hirt <bhirt@mobygames.com>)
List pgsql-bugs
Brian Hirt <bhirt@mobygames.com> writes:
> I've run across a rather nasty bug in 8.1.2.  It seems when the
> planer uses an index_scan within a GroupAggregate for a multi column
> index you can get incorrect results.

Patch is here if you need it before 8.1.3:
http://archives.postgresql.org/pgsql-committers/2006-01/msg00377.php

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug with aggregate + multi column index + index_scan
Next
From: Tom Lane
Date:
Subject: Re: BUG #2218: Variables selected in VIEWs under different names break queries using those views