Re: Add SHELL_EXIT_CODE to psql - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Add SHELL_EXIT_CODE to psql
Date
Msg-id CA+TgmoaEDxmQxbYxDBZkrkxJjb3Ni8pOWVf3Y5n5vzTVO+EKpw@mail.gmail.com
Whole thread Raw
In response to Re: Add SHELL_EXIT_CODE to psql  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: Add SHELL_EXIT_CODE to psql
List pgsql-hackers
On Wed, Jan 4, 2023 at 2:09 AM Corey Huinker <corey.huinker@gmail.com> wrote:
> 2. There are now two psql variables, SHELL_EXIT_CODE, which has the return code, and SHELL_ERROR, which is a
true/falseflag based on whether the exit code was nonzero. These variables are the shell result analogues of SQLSTATE
andERROR.
 

Seems redundant.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Decoupling antiwraparound autovacuum from special rules around auto cancellation
Next
From: Tomas Vondra
Date:
Subject: Re: Implement missing join selectivity estimation for range types