Re: Latch for the WAL writer - further reducing idle wake-ups.

Simon Riggs <simon@2ndquadrant.com>

From: Simon Riggs <simon@2ndQuadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Geoghegan <peter@2ndquadrant.com>, Magnus Hagander <magnus@hagander.net>, Robert Haas <robertmhaas@gmail.com>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2012-05-07T19:22:14Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Make bgwriter sleep longer when it has no work to do, to save electricity.

On 7 May 2012 20:06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Simon Riggs <simon@2ndQuadrant.com> writes:
>> It also leaves the situation that we have a catalog view called
>> pg_stat_bgwriter that would be accessing "checkpointer" things. That's
>> really the thorny one that I wasn't sure how to handle. Good example
>> of why we shouldn't expose internals too much.
>
> Yeah, that's a bit unfortunate but changing it doesn't seem like a good
> idea.  The names I intended to change are all internal.

OK, I'll change just the internal names.

-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services