prevent psql script execution from stopping

Поиск
Список
Период
Сортировка
От Horst Herb
Тема prevent psql script execution from stopping
Дата
Msg-id 20011129214526.12576.qmail@gnumed.dhs.org
обсуждение исходный текст
Список pgsql-novice
How  do I stop psql from bailing out of script executionwhen I attempt to
drop a non-existing table?

I thought "\set ON_ERROR_STOP 0" would do, but it doesn't.

example:
\set ON_ERROR_STOP 0
drop table foo;
create table foo(baz text);

never executes the create statement if table foo didn't exist

Horst

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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Vacuum analyze needed after making index?
Следующее
От: Francisco Reyes
Дата:
Сообщение: Learning to read explain