Re: Add SHELL_EXIT_CODE to psql

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Add SHELL_EXIT_CODE to psql
Дата
Msg-id CA+TgmoaEDxmQxbYxDBZkrkxJjb3Ni8pOWVf3Y5n5vzTVO+EKpw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add SHELL_EXIT_CODE to psql  (Corey Huinker <corey.huinker@gmail.com>)
Ответы Re: Add SHELL_EXIT_CODE to psql  (Corey Huinker <corey.huinker@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Decoupling antiwraparound autovacuum from special rules around auto cancellation
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Implement missing join selectivity estimation for range types