pg_control read error message

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pg_control read error message
Дата
Msg-id CABUevEx8ZRV5Ut_FvP2etXiQppx3xVzm7oOaV3AcdHxX81Yt8Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_control read error message  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
If pg_control is for some reason empty, we give an error messagfe like:

2018-05-18 13:24:03.342 CEST [19697] PANIC:  could not read from control file: Success

Which is, uh, wrong -- it's definitely not successful.

Obviously this is a state where the user is fairly screwed anyway, but we should give a better message.

Attached is a patch that does this. Reasonable?

--
Вложения

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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: inconsistency and inefficiency in setup_conversion()
Следующее
От: John Naylor
Дата:
Сообщение: Re: master fails to build on Windows