Received: from dune.krs.ru (dune.krs.ru [195.161.16.38]) by hub.org (8.8.8/8.7.5) with ESMTP id AAA02737 for ; Fri, 4 Sep 1998 00:23:09 -0400 (EDT) Received: from krs.ru (localhost.krs.ru [127.0.0.1]) by dune.krs.ru (8.8.8/8.8.8) with ESMTP id MAA10219; Fri, 4 Sep 1998 12:19:50 +0800 (KRSS) (envelope-from vadim@krs.ru) Sender: root@dune.krs.ru Message-ID: <35EF6A65.C5CC68FB@krs.ru> Date: Fri, 04 Sep 1998 12:19:49 +0800 From: Vadim Mikheev Organization: OJSC Rostelecom (Krasnoyarsk) X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: David Hartwig CC: Bruce Momjian , PostgreSQL-development Subject: Re: [HACKERS] Open 6.4 items References: <199808290440.AAA29962@candle.pha.pa.us> <35EF619B.14FADDCE@krs.ru> <35EF6140.248BCF20@bellatlantic.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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