X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7CA248B9D05 for ; Tue, 1 Feb 2005 04:43:15 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03253-10 for ; Tue, 1 Feb 2005 04:43:10 +0000 (GMT) Received: from smtpauth05.mail.atl.earthlink.net (smtpauth05.mail.atl.earthlink.net [209.86.89.65]) by svr1.postgresql.org (Postfix) with ESMTP id 242048B9CE4 for ; Tue, 1 Feb 2005 04:43:09 +0000 (GMT) Received: from [66.32.79.41] (helo=[192.168.1.10]) by smtpauth05.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1Cvpsa-00012I-9V; Mon, 31 Jan 2005 23:43:08 -0500 In-Reply-To: <009901c507c7$01d882e0$1400a8c0@tgusta2> References: <009901c507c7$01d882e0$1400a8c0@tgusta2> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable Cc: From: John DeSoi Subject: Re: error in function!! Date: Mon, 31 Jan 2005 23:42:57 -0500 To: "Ing. Jhon Carrillo" X-Mailer: Apple Mail (2.619) X-ELNK-Trace: d911ee06506cb6da94f5150ab1c16ac0549fb11073be4ad322097993ad35ecc4abada78f877b5720350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.32.79.41 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.016 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/14 X-Sequence-Number: 20125 On Jan 31, 2005, at 1:59 PM, Ing. Jhon Carrillo wrote: > > ERROR:=A0 function tschema.sp_actualizar_contacto(integer, "unknown",=20= > "unknown", "unknown", "unknown", "unknown", "unknown", integer,=20 > "unknown", "unknown", "unknown", "unknown", "unknown", "unknown",=20 > "unknown", "unknown", "unknown", "unknown", "unknown", integer,=20 > integer) does not exist > HINT:=A0 No function matches the given name and argument types. You = may=20 > need to add explicit type casts. > =A0 > =A0 > I need to know if the "insert sentence" was sucesfull, how do i do? > =A0 This message is telling you that your function call using=20 tschema.sp_actualizar_contacto was not correct. You must have all=20 parameters in the function call and they must all be the correct type.=20= So the message above says the first parameter passed was an integer,=20 but your function expects the first parameter to be text. Note that you can remove all of the ALIAS declarations and use=20 parameter name directly. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL