Re: Problems with CREATE AGGREGATE and user defined state type.

From: "Aftab Alam" <aalam(at)tatashare(dot)com>
To: "'Magnus Jonsson'" <bigfoot(at)acc(dot)umu(dot)se>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problems with CREATE AGGREGATE and user defined state type.
Date: 2006-03-21 15:18:02
Message-ID: 001b01c64cfa$a56c21e0$ec1010ac@aftabn463
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

delete my email from the list

Regards,


-----Original Message-----
From: pgsql-hackers-owner(at)postgresql(dot)org
[mailto:pgsql-hackers-owner(at)postgresql(dot)org]On Behalf Of Magnus Jonsson
Sent: Tuesday, March 21, 2006 8:39 PM
To: pgsql-hackers(at)postgresql(dot)org
Subject: [HACKERS] Problems with CREATE AGGREGATE and user defined state
type.

Hello,

I discoverd what seems to be a bug in postgresql 7.4.12 (also on
7.4.7).

I have an example located at http://foo.fot.nu/psql/ with a simple
example that delevers the correct result on 8.1 (tested by some nice
person at #postgresql).

It seems like the state variable is reseted every time a new
grouped value pops up.

/M

--
Magnus Jonsson <bigfoot(at)acc(dot)umu(dot)se>
I'm here looking for an answer, but I'm not sure about the question...

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-03-21 15:57:31 Re: [Pgbuildfarm-members] guppie: 64MB RAM too small?
Previous Message Magnus Jonsson 2006-03-21 15:09:09 Problems with CREATE AGGREGATE and user defined state type.