Received: from sss2.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA87996; Tue, 11 Apr 2000 12:05:42 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss2.sss.pgh.pa.us (8.9.3/8.9.3) with ESMTP id MAA01294; Tue, 11 Apr 2000 12:05:40 -0400 (EDT) To: "Andrew C.R. Martin" cc: interfaces@postgresql.org, docs@postgresql.org, hackers@postgresql.org Subject: Re: Bugs: Programming Language Functions In-reply-to: <00041116534800.28381@sapc13.rdg.ac.uk> References: <734.955464746@sss.pgh.pa.us> <00041116534800.28381@sapc13.rdg.ac.uk> Comments: In-reply-to "Andrew C.R. Martin" message dated "Tue, 11 Apr 2000 16:38:58 +0100" Date: Tue, 11 Apr 2000 12:05:39 -0400 Message-ID: <1291.955469139@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200004/46 "Andrew C.R. Martin" writes: > My own particular problem simply pulls out an integer and a (text *) > from a varchar. It then goes away and does some calculations based on > these values and another external file (in fact it does a system() to > run an external program which does these calculations). It then build > a 'text' structure containing the result. Hm. I'm not too clear on why that would need to worry about either TupleTableSlot or GetAttributeByName ... shouldn't it be a simple function consuming a text Datum and producing another? regards, tom lane