Re: Multi-parameter aggregates.

From: Berend Tober <btober(at)seaworthysys(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Multi-parameter aggregates.
Date: 2005-11-21 17:33:15
Message-ID: 438204DB.7080406@seaworthysys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Fuhr wrote:

>On Mon, Nov 21, 2005 at 11:03:22AM -0500, Berend Tober wrote:
>
>
>>I'm interested in defining a covariance aggregate function.
>>
>>
>
>I think aggregates must take a single value, so the above won't
>work as written. However, in PostgreSQL 8.0 or later you could
>define the aggregate's base type to be a composite type
>

Thanks. I briefly explored something like that, using the existing POINT
data type, but didn't press it too far, pending mailling list advice.

Regards,
Berend

Attachment Content-Type Size
btober.vcf text/x-vcard 233 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Berend Tober 2005-11-21 17:34:17 Re: Multi-parameter aggregates.
Previous Message Bruno Wolff III 2005-11-21 17:24:35 Re: TSearch2 Questions