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 <[email protected]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: [email protected] iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
