conditionally terminate psql script

Поиск
Список
Период
Сортировка
От hamann.w@t-online.de
Тема conditionally terminate psql script
Дата
Msg-id wolfgang-1181217131349.A0420644@noten19.local
обсуждение исходный текст
Ответы Re: conditionally terminate psql script
Re: conditionally terminate psql script
Список pgsql-general

Hi,

is there a way to stop execution of a psql script if a select returns some rows (or no rows)
The idea is to add a safety check on data, specifically to select all new rows that would conflict
on a bulk insert, show them and stop

Best regards
Wolfgang



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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: loading jdbc Driver in servlet
Следующее
От:
Дата:
Сообщение: Creating 2D arrays for pg_copy_from, reading tab-delimted text filethat contains comma and double quotes