Re: how to test a PL/pgSQL function using pgAdmin III ? - Mailing list pgsql-novice

From Jaime Casanova
Subject Re: how to test a PL/pgSQL function using pgAdmin III ?
Date
Msg-id c2d9e70e0511230726v7c762648p9099967af54f0e27@mail.gmail.com
Whole thread Raw
In response to how to test a PL/pgSQL function using pgAdmin III ?  (Charles Bai <charlesbaiusa@yahoo.com>)
Responses Re: how to test a PL/pgSQL function using pgAdmin III ?  (Charles Bai <charlesbaiusa@yahoo.com>)
List pgsql-novice
On 11/23/05, Charles Bai <charlesbaiusa@yahoo.com> wrote:
> Hi,
>
> I created a plpgsql function in pgAdmin III and it will insert a record into
> a table. I am not ready to test it with my App. Can I test it first with
> pgAdmin III Query window? What would be the syntax to test it?
>
> My function is      myuser_insert(varchar, varchar)
>
> I tried
>
> Execute myuser_insert('mylogin_id', 'mypassword');
>
> But not working. ERROR:  prepared statement "myuser_insert" does not exist
>
> Thanks for any help.
>

use "select myuser_insert('mylogin_id', 'mypassword');" instead



--
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

pgsql-novice by date:

Previous
From: Charles Bai
Date:
Subject: how to test a PL/pgSQL function using pgAdmin III ?
Next
From: Charles Bai
Date:
Subject: Re: how to test a PL/pgSQL function using pgAdmin III ?