Re: Fwd: Psql.exe error logging

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Fwd: Psql.exe error logging
Дата
Msg-id CAKFQuwY=TDMK=MUBFV4PZbuysWkSi2-EBdDG0nrc34gvOX4=ow@mail.gmail.com
обсуждение исходный текст
Ответ на Fwd: Psql.exe error logging  (Aman Rathi <aman.rathi0904@gmail.com>)
Ответы Re: Fwd: Psql.exe error logging  (Aman Rathi <aman.rathi0904@gmail.com>)
Список pgsql-www
On Wed, Feb 24, 2016 at 11:24 PM, Aman Rathi <aman.rathi0904@gmail.com> wrote:
Hi,

I am running a .sql file using psql.exe command. The command inserts data from a file into a table as is, no checks.

Problem I am facing is when even if the command gives me an error, still it completes successfully. I am running this command via java, so am not able to catch the error.

It would be of great help if you could rescue me from this situation.



​psql --set=ON_ERROR_STOP=1

David J.

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

Предыдущее
От: Aman Rathi
Дата:
Сообщение: Fwd: Psql.exe error logging
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Wiki no longer showing recent changes