Re: pg_control read error message

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: pg_control read error message
Дата
Msg-id 4fa3b8c2-f607-01af-a83f-9e596e5e9516@iki.fi
обсуждение исходный текст
Ответ на pg_control read error message  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pg_control read error message  (Michael Paquier <michael@paquier.xyz>)
Re: pg_control read error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 18/05/18 14:32, Magnus Hagander wrote:
> 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?

Looks good to me.

- Heikki


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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: master fails to build on Windows
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Postgres, fsync, and OSs (specifically linux)