From: | Vadim Mikheev <vadim(at)krs(dot)ru> |
---|---|
To: | David Hartwig <daybee(at)bellatlantic(dot)net> |
Cc: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] Open 6.4 items |
Date: | 1998-09-04 04:19:49 |
Message-ID: | 35EF6A65.C5CC68FB@krs.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
David Hartwig wrote:
>
> >
> > 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.
Yes, I see that it comes from replace_agg_clause() after
match_varid() call: for some reasons varoattno of
target list var is changed and so var is not matched...
>
> 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.
As I remember, someone re-implemented GroupBy node in 6.4...
Vadim
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1998-09-04 04:22:16 | Minor bugs and a formatting gripe |
Previous Message | Vadim Mikheev | 1998-09-04 03:42:19 | Re: [HACKERS] Open 6.4 items |