Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id AAA25204 for postgres-redist; Tue, 5 Dec 1995 00:32:43 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199512050832.AAA25204@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from spock.pc.cc.cmu.edu (spock@SPOCK.RES.CMU.EDU [128.2.93.145]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with ESMTP id AAA29823 for <postgres@nobozo.CS.Berkeley.EDU>; Tue, 5 Dec 1995 00:32:41 -0800
Received: (from spock@localhost) by spock.pc.cc.cmu.edu (8.6.12/8.6.9) id DAA02951; Tue, 5 Dec 1995 03:32:19 -0500
Date: Tue, 5 Dec 1995 03:32:18 -0500 (EST)
From: spock <spock@SPOCK.RES.CMU.EDU>
To: postgres@postgres.Berkeley.EDU
Subject: postgres function on an array of float8's
In-Reply-To: <9511151611.AA29570@rs63.zfn.uni-bremen.de>
Message-ID: <Pine.LNX.3.91.951205032706.2936A-100000@spock.pc.cc.cmu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Tue, 05 Dec 95 00:32:43 -0800
Resent-XMts: smtp

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/
