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: pg_receivexlog-fsync-feedback-v1.patch
Description: pg_receivexlog-fsync-feedback-v1.patch

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to