Re: sum of array elements
- From: "David E. Wheeler" <david(at)kineticode(dot)com>
- To: Thomas Keller <kellert(at)ohsu(dot)edu>
- Cc: "Devin Ben-Hur" <devin(at)ben-hur(dot)net>, "Postgresql PDX_Users" <pdxpug(at)postgresql(dot)org>
- Subject: Re: sum of array elements
- Date: Fri, 24 Oct 2008 09:48:16 -0700
- Message-id: <5EE02B1D-4E89-4D3C-BCE2-5589753EA8A9@kineticode.com> <text/plain>
On Oct 24, 2008, at 09:36, Thomas Keller wrote:
I got an error when I gave ( an_array ) as the input type. So I
changed that to ( DECIMAL [] ) and it worked great.
Try anyarray. That will allow it to work with other numeric types.
Best,
David
Home |
Main Index |
Thread Index