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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndQuadrant.com>
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:06:50Z
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.

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.

			regards, tom lane