agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: spock <spock@SPOCK.RES.CMU.EDU>
To: postgres@postgres.Berkeley.EDU
Subject: postgres function on an array of float8's
Date: Tue, 5 Dec 1995 03:32:18 -0500 (EST)
Message-ID: <Pine.LNX.3.91.951205032706.2936A-100000@spock.pc.cc.cmu.edu> (raw)
In-Reply-To: <9511151611.AA29570@rs63.zfn.uni-bremen.de>
G'day,
Please forgive the newbi'ness of this question, but I am stuck.
I am trying to write a function that operates on an array of floats. I
was wondering if someone had an example of say just a function to take an
array and return the sum of it's elements. I guess the sticking point is
what type type do I use? I tried _float8, but that didn't work...
Thanks for any help you can give me, and again sorry to bother you..
Matt
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: spock@SPOCK.RES.CMU.EDU
Subject: Re: postgres function on an array of float8's
In-Reply-To: <Pine.LNX.3.91.951205032706.2936A-100000@spock.pc.cc.cmu.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox