stopping execution of a script (on error)

Поиск
Список
Период
Сортировка
Искать
От
Olivier Chapiteau
Тема
stopping execution of a script (on error)
Дата
Msg-id
01061417465900.02610@ochapiteau.dagon.pdt
Список
Дерево обсуждения
stopping execution of a script (on error) Olivier Chapiteau <ochapiteau@cyberdeck.net>
Re: stopping execution of a script (on error) Peter Eisentraut <peter_e@gmx.net>
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
Дата:
FAQ