Re: Proposal: Log inability to lock pages during vacuum - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Proposal: Log inability to lock pages during vacuum
Date
Msg-id 20141218202136.GP1768@alvh.no-ip.org
Whole thread Raw
In response to Re: Proposal: Log inability to lock pages during vacuum  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Proposal: Log inability to lock pages during vacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Heikki Linnakangas wrote:
> On 12/18/2014 09:41 PM, Alvaro Herrera wrote:

> >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.

Great, thanks, pushed.  I tweaked it a bit more, so that it would say
either "skipped N pages" or "waited N pins" in both autovacuum and
vacuum verbose cases, but only if N > 0.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Proposal: Log inability to lock pages during vacuum
Next
From: Tom Lane
Date:
Subject: Re: Proposal: Log inability to lock pages during vacuum