Re: FW: plpgsql function help - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: FW: plpgsql function help
Date
Msg-id 20100330140910.GD18474@a-kretschmer.de
Whole thread Raw
In response to Re: FW: plpgsql function help  ("Tyler Hains" <thains@profitpointinc.com>)
List pgsql-novice
In response to Tyler Hains :
> Alas, I'm running version 8.3. Is there an easy way to do it in 8.3? Can
> I create that function in 8.3, or is it dependent upon other 8.4
> features? Would it cause any migration issues later? Where can I find
> the function without downloading all of the 8.4 source?

Okay, no problem ;-)

You can write a own aggregate, see:
http://www.postgresql.org/docs/current/static/xaggr.html

search for CREATE AGGREGATE array_accum


Please, no top-posting and fullquote below, okay?


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

pgsql-novice by date:

Previous
From: "Tyler Hains"
Date:
Subject: Re: FW: plpgsql function help
Next
From: Zdravko Balorda
Date:
Subject: Re: Table inheritance