Re: Add SHELL_EXIT_CODE to psql

Поиск
Список
Период
Сортировка
От Corey Huinker
Тема Re: Add SHELL_EXIT_CODE to psql
Дата
Msg-id CADkLM=eSKwRGF-rnRqhtBORRtL49QsjcVUCa-kLxKTqxypsakw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add SHELL_EXIT_CODE to psql  (Corey Huinker <corey.huinker@gmail.com>)
Ответы Re: Add SHELL_EXIT_CODE to psql
Re: Add SHELL_EXIT_CODE to psql
Список pgsql-hackers


On Tue, Mar 21, 2023 at 3:33 PM Corey Huinker <corey.huinker@gmail.com> wrote:

As you had it, any nonzero result would prevent backtick substitution.
I'm not really sure how much thought went into the existing behavior,
but I am pretty sure that it's not part of this patch's charter to
change that.

                        regards, tom lane

 The changes all make sense, thanks!

This is a follow up patch to apply the committed pattern to the various piped output commands.

I spotted this oversight in the https://www.postgresql.org/message-id/CADkLM=dMG6AAWfeKvGnKOzz1O7ZNctFR1BzAA3K7-+XQxff=4Q@mail.gmail.com thread and, whether or not that feature gets in, we should probably apply it to output pipes as well.

 
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Refactoring SysCacheGetAttr to know when attr cannot be NULL
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Should we remove vacuum_defer_cleanup_age?