stopping execution of a script (on error)

Поиск
Список
Период
Сортировка
От Olivier Chapiteau
Тема stopping execution of a script (on error)
Дата
Msg-id 01061417465900.02610@ochapiteau.dagon.pdt
обсуждение исходный текст
Ответы Re: stopping execution of a script (on error)  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
Is it possible to stop the execution of a sql script in case of problem ?

ex :

create table newtable as select * from oldtable
DROP TABLE oldtable

I don't want to drop the table if the first instruction did not work properly


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

Предыдущее
От: "Thalis A. Kalfigopoulos"
Дата:
Сообщение: Re: Unique rows without a key
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: stopping execution of a script (on error)