| От | Tom Lane |
|---|---|
| Тема | Re: Giving more detail in pg_upgrade errormessage |
| Дата | |
| Msg-id | 57271.1689696260@sss.pgh.pa.us обсуждение |
| Ответ на | Giving more detail in pg_upgrade errormessage (Daniel Gustafsson <daniel@yesql.se>) |
| Ответы |
Re: Giving more detail in pg_upgrade errormessage
|
| Список | pgsql-hackers |
Daniel Gustafsson <daniel@yesql.se> writes:
> Looking at the upgrade question in [0] made me realize that we discard
> potentially useful information for troubleshooting. When we check if the
> cluster is properly shut down we might as well include the status from
> pg_controldata in the errormessage as per the trivial (but yet untested)
> proposed diff.
> Is there a reason not to be verbose here as users might copy/paste this output
> when asking for help?
Agreed, but I think you need to chomp the string's trailing newline,
or it'll look ugly. You might as well do that further up and remove
the newlines from the comparison strings, too.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера