On Wed, Jan 4, 2023 at 2:09 AM Corey Huinker <corey.huin...@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/false flag based on whether the exit > code was nonzero. These variables are the shell result analogues of SQLSTATE > and ERROR.
Seems redundant. -- Robert Haas EDB: http://www.enterprisedb.com