On Fri, Oct 22, 2010 at 02:02:48PM +0100, Leonardo Francalanci wrote:
> Hi,
>
> I want to write a custom agg function that, given an "int4 index",
> increments the element at "index" of an array and, at the end,
> returns the array. The array will always be int4[].
Before you start coding, have you looked over what's in
contrib/intarray ?
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate