psql exit code, bug ? - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject psql exit code, bug ?
Date
Msg-id 2f4958ff0909160705l4d52fcd0qabb8eb125fb98bd@mail.gmail.com
Whole thread Raw
Responses Re: psql exit code, bug ?
List 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 by date:

Previous
From: Ed Koch
Date:
Subject: Re: I need a Postgres Admin $130K + 20K in NYC Any Ideas?
Next
From: Tom Lane
Date:
Subject: Re: psql exit code, bug ?