Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group