Received: from flex.flex.ro (IDENT:root@[193.230.255.4]) by hub.org (8.9.3/8.9.3) with ESMTP id IAA45088 for ; Sat, 28 Aug 1999 08:03:16 -0400 (EDT) (envelope-from teo@flex.ro) Received: from flex.ro (IDENT:teo@teo.flex.ro [193.230.255.3]) by flex.flex.ro (8.9.3/8.9.3) with ESMTP id PAA11694 for ; Sat, 28 Aug 1999 15:04:24 +0300 Sender: teo@flex.flex.ro Message-ID: <37C7D19C.3CDD4296@flex.ro> Date: Sat, 28 Aug 1999 12:10:04 +0000 From: Constantin Teodorescu Organization: FLEX Consulting Braila X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.11 i586) X-Accept-Language: en MIME-Version: 1.0 To: PostgreSQL Interfaces Subject: Need an example Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I would need an example of user defined function written in "C" that will receive some parameters (two or three), that will search some tables and make some calculations and that will return a value (a text, a float8 value). I tried to dig on examples in contrib directory but without success. Thanks in advance, -- Constantin Teodorescu FLEX Consulting Braila, ROMANIA