psql exit code, bug ?

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема psql exit code, bug ?
Дата
Msg-id 2f4958ff0909160705l4d52fcd0qabb8eb125fb98bd@mail.gmail.com
обсуждение исходный текст
Ответы Re: psql exit code, bug ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
http://gj.pastebin.com/f119e67bc

Looks like psql loves to report on errors, only when -c is used,
otherwise return code is always 0...

I tested 8.3 and cvs-head, both have the same issue.

Is that the 'by design' (bug/feature) ?


--
GJ

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

Предыдущее
От: Ed Koch
Дата:
Сообщение: Re: I need a Postgres Admin $130K + 20K in NYC Any Ideas?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql exit code, bug ?