Re: Proposal: Log inability to lock pages during vacuum

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Proposal: Log inability to lock pages during vacuum
Дата
Msg-id 549333E1.2090004@vmware.com
обсуждение исходный текст
Ответ на Re: Proposal: Log inability to lock pages during vacuum  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Proposal: Log inability to lock pages during vacuum  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 12/18/2014 09:41 PM, Alvaro Herrera wrote:
> Jim Nasby wrote:
>
>> We have to decide on a tradeoff here. Either we end up with two
>> different log messages (depending on scan_all) that require two
>> different translations, or we end up with a generic message that isn't
>> as clear.
>>
>> The best option I can think of for the later is something like "failed
>> initial lock attempt". That's the only thing that will be true in all
>> cases.
>
> Here's my proposal.  Instead of punting, I split the message in
> separately translatable units, and emit only the ones that apply.  The
> code is messier this way, but I think we can live with that.

Works for me.

- Heikki




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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Proposal: Log inability to lock pages during vacuum
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Proposal: Log inability to lock pages during vacuum