On Mon, May 29, 2017 at 3:58 PM, Ludovic Vaugeois-Pepin <ludovicvp@xxxxxxxxx> wrote: > < 2017-05-29 22:42:17.026 CEST > DEBUG: switched WAL source from > archive to stream after failure > ... (15 seconds later) ... > < 2017-05-29 22:42:32.042 CEST > DEBUG: switched WAL source from > stream to archive after failure Ludovic, is there some event happening between those two logs? Something that could explain a longer delay is the time it takes for a WAL receiver to be considered as started (see WALRCV_STARTUP_TIMEOUT). -- Michael -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general