Re: gcc 4.6 and hot standby

Fujii Masao <masao.fujii@gmail.com>

From: Fujii Masao <masao.fujii@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alex Hunsaker <badalex@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-06-09T02:36:57Z
Lists: pgsql-hackers
On Thu, Jun 9, 2011 at 5:31 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> So it's interesting that this only happens with a particular gcc version,
> because it's not apparent to me why it works properly for anybody.
> Isn't hitting a zero record length an expected case when we run ahead of
> the amount of WAL produced by the master?

At least while walreceiver is running, recovery doesn't go ahead of the
last receive location. So that's not an expected case.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center