Re: buffer assertion tripping under repeat pgbench load

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Smith <greg@2ndQuadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>, Satoshi Nagayasu <snaga@uptime.jp>
Date: 2013-03-15T16:27:54Z
Lists: pgsql-hackers
Greg Smith <greg@2ndQuadrant.com> writes:
> On 1/27/13 2:32 AM, Satoshi Nagayasu wrote:
>> This patch is intended to improve warning message at
>> AtEOXact_Buffers(), but I guess another function,
>> AtProcExit_Buffers(), needs to be modified as well. Right?

> Yes, good catch.  I've attached an updated patch that does the same sort 
> of modification to that one too.

I went ahead and committed this, since it didn't really seem to me to
be in need of additional testing.

			regards, tom lane


Commits

  1. Follow TLI of last replayed record, not recovery target TLI, in walsenders.

  2. Avoid holding vmbuffer pin after VACUUM.