From: John DeSoi <desoi@pgedit.com>
To: Ing. Jhon Carrillo <jdigital@cantv.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: error in function!!
Date: Mon, 31 Jan 2005 23:42:57 -0500
Message-ID: <BE769FFE-740B-11D9-877E-000A95B03262@pgedit.com> (raw)
In-Reply-To: <009901c507c7$01d882e0$1400a8c0@tgusta2>
References: <009901c507c7$01d882e0$1400a8c0@tgusta2>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: desoi@pgedit.com, jdigital@cantv.net
Subject: Re: error in function!!
In-Reply-To: <BE769FFE-740B-11D9-877E-000A95B03262@pgedit.com>
References: <009901c507c7$01d882e0$1400a8c0@tgusta2> <BE769FFE-740B-11D9-877E-000A95B03262@pgedit.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox