Writing your own aggregate functions - Mailing list pgsql-novice

From Bastiaan Olij
Subject Writing your own aggregate functions
Date
Msg-id 5136BBA7.5030202@basenlily.me
Whole thread Raw
Responses Re: Writing your own aggregate functions
List pgsql-novice
Hiya,

I was wondering if it is possible in Postgres to write an aggregate
function?

So say if I wanted to execute the following statement:

select Column1, sum(Column2), myFunction(Column3)
from MyTable
group by Column1

Could I implement myFunction as a stored function and how would I go
about doing so?

Cheers,

Bas


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL Query Speed Issues
Next
From: Merlin Moncure
Date:
Subject: Re: Writing your own aggregate functions