Re: [HACKERS] Open 6.4 items - Mailing list pgsql-hackers

From David Hartwig
Subject Re: [HACKERS] Open 6.4 items
Date
Msg-id 35EF6140.248BCF20@bellatlantic.net
Whole thread Raw
In response to Open 6.4 items  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers

Vadim Mikheev wrote:

> Bruce Momjian wrote:
> >
> > low level locking - status?
>
> Work in progress -:))
> This is 6.5 item...
>
> But this is 6.4 item from TODO:
> * select upper(usename), count(usesysid) from pg_shadow group by 1;
> --> CRASH
>
> - group by function is BROKEN!!!
>
> Is anybody working on fix ?
>

Not I, but I can give you some background.   The crash seems to only
occur when the argument of the GROUPed by function is not used elsewhere
in the target list.

example:
    select upper(usename), count(usename) from pg_shadow group by 1;
        OK
    select upper(usename), count(oid) from pg_shadow group by 1;
        CRASH

It did work in 6.3.


pgsql-hackers by date:

Previous
From: David Hartwig
Date:
Subject: Re: [HACKERS] index fix report
Next
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] Open 6.4 items