Thread: Streaming replication and wal skipping

Streaming replication and wal skipping

From
Fujii Masao
Date:
Hi,

Since I had tweaked wal-skipping logic for SR before,
there were two additional changes about that;
http://archives.postgresql.org/pgsql-committers/2009-11/msg00018.php
http://archives.postgresql.org/pgsql-committers/2009-12/msg00167.php

The attached patch deals with those changes.

Also I found that XLogStandbyInfoActive() should use
XLogIsNeeded() instead of XLogArchivingMode. The patch
also does that.

Regards,

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

Attachment

Re: Streaming replication and wal skipping

From
Heikki Linnakangas
Date:
Fujii Masao wrote:
> Since I had tweaked wal-skipping logic for SR before,
> there were two additional changes about that;
> http://archives.postgresql.org/pgsql-committers/2009-11/msg00018.php
> http://archives.postgresql.org/pgsql-committers/2009-12/msg00167.php
> 
> The attached patch deals with those changes.
> 
> Also I found that XLogStandbyInfoActive() should use
> XLogIsNeeded() instead of XLogArchivingMode. The patch
> also does that.

Thanks, committed.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com