psql exit code, bug ?

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: psql exit code, bug ?
Date: 2009-09-16 14:05:18
Message-ID: 2f4958ff0909160705l4d52fcd0qabb8eb125fb98bd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-09-16 14:31:50 Re: psql exit code, bug ?
Previous Message Hoover, Jeffrey 2009-09-16 13:58:41 Re: I need a Postgres Admin $130K + 20K in NYC Any Ideas?