pg_receivexlog --status-interval add fsync feedback - Mailing list pgsql-hackers

From
Subject pg_receivexlog --status-interval add fsync feedback
Date
Msg-id A9C510524E235E44AE909CD4027AE196BF7C70D18C@MBX-MSG-SV03.msg.nttdata.co.jp
Whole thread Raw
Responses Re: pg_receivexlog --status-interval add fsync feedback
List pgsql-hackers
Hi all,

This patch is to add setting to send status packets after fsync to --status-interval of pg_receivexlog.

If -1 is specified to --status-interval, status packets is sent as soon as after fsync.

Others are the same as when 0 is specified to --status-interval.
When requested by the server, send the status packet. 

To use replication slot, and specify -1 to --fsync-interval.
As a result, simple WAL synchronous replication can be performed.

In simple WAL synchronization, it is possible to test the replication.
If there was F/O in synchronous replication, 
it is available in the substitute until standby is restored.

Regards,

--
Furuya Osamu


Attachment

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: minor pgbench doc fix
Next
From: Fujii Masao
Date:
Subject: Re: pg_receivexlog add synchronous mode