how to test a PL/pgSQL function using pgAdmin III ?

Поиск
Список
Период
Сортировка
От Charles Bai
Тема how to test a PL/pgSQL function using pgAdmin III ?
Дата
Msg-id 20051123152224.90402.qmail@web31912.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: how to test a PL/pgSQL function using pgAdmin III ?  (Jaime Casanova <systemguards@gmail.com>)
Список pgsql-novice
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.


Yahoo! FareChase - Search multiple travel sites in one click.

В списке pgsql-novice по дате отправления:

Предыдущее
От: Raphael Bauduin
Дата:
Сообщение: myfunc_setvar and postgresql 8.1
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: how to test a PL/pgSQL function using pgAdmin III ?