Re: hi let me know the solution to this question

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: hi let me know the solution to this question
Дата
Msg-id 20060718053442.GA9694@winnie.fuhr.org
обсуждение исходный текст
Ответ на hi let me know the solution to this question  ("Penchalaiah P." <penchalaiahp@infics.com>)
Ответы Re: hi let me know the solution to this question
Список pgsql-sql
On Tue, Jul 18, 2006 at 10:46:29AM +0530, Penchalaiah P. wrote:
> Can u let me know if at all any system defined variable exists to check
> whether insert , update , and delete is successfully executed in a
> stored procedure........
> 
> So that I can perform some steps based on the  result of execution if
> possible please send me the sample code...............

Depending on what you mean by "successfully executed," see "Obtaining
the Result Status" or "Trapping Errors" in the PL/pgSQL documentation
(error trapping is available in 8.0 and later).

http://www.postgresql.org/docs/8.1/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS
http://www.postgresql.org/docs/8.1/interactive/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING

-- 
Michael Fuhr


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

Предыдущее
От: "Penchalaiah P."
Дата:
Сообщение: hi let me know the solution to this question
Следующее
От: Curtis Scheer
Дата:
Сообщение: How to pass array of values to a stored procedure