On_error_stop

Поиск
Список
Период
Сортировка
От Ashish Karalkar
Тема On_error_stop
Дата
Msg-id 00a601c7bd3a$f20dec20$170211ac@LIONKING.COM
обсуждение исходный текст
Ответы Re: On_error_stop  ("Sibte Abbas" <sibtay@gmail.com>)
Список pgsql-novice
Hello All,
 
I want to run few DDL's from scripts and want the script to halt if any error ocuurs, this can be done by on_error_stop
 
But what I want to do is to display a message something like
 
If on_error_stop =1
 {
    echo "DDL failed";
    exit();
}
 
else "DDL passed";
 
end
 
is there any way to do this?
 
Thanks in advance
Ashish...
 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Schema Problem
Следующее
От: callewaert.nico@telenet.be
Дата:
Сообщение: Books on server programming