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.