X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 450F69FA159 for ; Sat, 10 Jun 2006 15:11:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 04798-05 for ; Sat, 10 Jun 2006 15:11:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 557549F9AD3 for ; Sat, 10 Jun 2006 15:11:24 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k5AIBLYc001500; Sat, 10 Jun 2006 14:11:22 -0400 (EDT) To: "Rommel the iCeMAn" cc: "PostgreSQL SQL Mailing List" Subject: Re: Problems Testing User-Defined Function In-reply-to: <000f01c68c2c$02384690$111117ac@theport.com> References: <000f01c68c2c$02384690$111117ac@theport.com> Comments: In-reply-to "Rommel the iCeMAn" message dated "Fri, 09 Jun 2006 21:19:51 -0400" Date: Sat, 10 Jun 2006 14:11:21 -0400 Message-ID: <1499.1149963081@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/113 X-Sequence-Number: 25349 "Rommel the iCeMAn" writes: > Thanks for the input so far. No it wasn't a direct paste, what I did in fact > type was SELECT sp_insert_manifest('me', 'me@you.com', 'me@you.com', > 'test.txt', NULL, '2006/06/09'). The error message said something like > function sp_insert_manifest(character varying, character varying, character > varying, character varying, "unknown", timestamp) does not exist. You were asked for the exact error message, not an approximation. Given that input I'd have expected all the arguments to show as "unknown" in the error message, because none of them have well-defined types. > I'll investigate the "CALLED ON NULL INPUT" option that Jim suggested. Since that's the default anyway, adding it won't help you. I suspect you need to be looking for more prosaic issues, like whether the function name is spelled correctly. regards, tom lane