Re: Prevent printing "next step instructions" in initdb and pg_upgrade
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: Prevent printing "next step instructions" in initdb and pg_upgrade |
| Дата | |
| Msg-id | 455845d1-441d-cc40-d2a7-b47f4e422489@2ndquadrant.com обсуждение |
| Ответ на | Re: Prevent printing "next step instructions" in initdb and pg_upgrade (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: Prevent printing "next step instructions" in initdb and pg_upgrade
|
| Список | pgsql-hackers |
On 2021-01-17 14:38, Magnus Hagander wrote:
> On Thu, Jan 7, 2021 at 11:53 AM Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> wrote:
>>
>> After pondering this again, I think we can go with initdb
>> --no-instructions, as in your patch.
>>
>> As a minor nitpick, I would leave out the
>>
>> else
>> printf(_("\nSuccess.\n"));
>>
>> in the --no-instructions case.
>
> OK, thanks. I have applied it as such, with that message moved inside
> the if statement.
It appears that there is an extra blank line in the initdb output before
"Success" now.
--
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера