From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
---|---|
To: | pgsql-novice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: FW: plpgsql function help |
Date: | 2010-03-30 14:09:10 |
Message-ID: | 20100330140910.GD18474@a-kretschmer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tyler Hains | 2010-03-30 16:27:34 | Re: plpgsql function help |
Previous Message | Tyler Hains | 2010-03-30 14:00:02 | Re: FW: plpgsql function help |