Re: WALInsertLock tuning

Simon Riggs <simon@2ndquadrant.com>

From: Simon Riggs <simon@2ndQuadrant.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Jeff Janes <jeff.janes@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-07T12:54:11Z
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. Introduce compact WAL record for the common case of commit (non-DDL).

On Tue, Jun 7, 2011 at 1:24 PM, Robert Haas <robertmhaas@gmail.com> wrote:

> One other thought is that I think that this patch might cause a
> user-visible behavior change.  Right now, when you hit the end of
> recovery, you most typically get a message saying - record with zero
> length.  Not always, but often.  If we adopt this approach, you'll get
> a wider variety of error messages there, depending on exactly how the
> new record fails validation.  I dunno if that's important to be worth
> caring about, or not.

Not.

We've never said what the message would be, only that it would fail.

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