| От | Fabien COELHO |
|---|---|
| Тема | Re: [PATCH v1] Add \echo_stderr to psql |
| Дата | |
| Msg-id | alpine.DEB.2.21.1904221943420.29102@lancre обсуждение исходный текст |
| Ответ на | Re: [PATCH v1] Add \echo_stderr to psql (David Fetter <david@fetter.org>) |
| Список | pgsql-hackers |
>>>> \warn ... >>>> \warning ... >>> >>> These two seem about the best to me, drawing from the perl warn command. >> >> Yep, I was thinking of perl & gmake. Maybe the 4 letter option is better >> because its the same length as "echo". >> >>> I suppose we could go the bash &2 route here, but I don't want to. >> >> I agree on this one. > > Please find attached v2, name is now \warn. > > How might we test this portably? TAP testing? see pgbench which has tap test which can test stdout & stderr by calling utility command_checks_all, the same could be done with psql. -- Fabien.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера