Re: error in function!!

From: John DeSoi <desoi(at)pgedit(dot)com>
To: "Ing(dot) Jhon Carrillo" <jdigital(at)cantv(dot)net>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: error in function!!
Date: 2005-02-01 04:42:57
Message-ID: BE769FFE-740B-11D9-877E-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Jan 31, 2005, at 1:59 PM, Ing. Jhon Carrillo wrote:

>
> ERROR:  function tschema.sp_actualizar_contacto(integer, "unknown",
> "unknown", "unknown", "unknown", "unknown", "unknown", integer,
> "unknown", "unknown", "unknown", "unknown", "unknown", "unknown",
> "unknown", "unknown", "unknown", "unknown", "unknown", integer,
> integer) does not exist
> HINT:  No function matches the given name and argument types. You may
> need to add explicit type casts.
>  
>  
> I need to know if the "insert sentence" was sucesfull, how do i do?
>  

This message is telling you that your function call using
tschema.sp_actualizar_contacto was not correct. You must have all
parameters in the function call and they must all be the correct type.
So the message above says the first parameter passed was an integer,
but your function expects the first parameter to be text.

Note that you can remove all of the ALIAS declarations and use
parameter name directly.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Iain 2005-02-01 04:54:09 Re:
Previous Message Dennis Sacks 2005-02-01 03:51:06 Re: BLOBs vs BYTEA