Re: log shipping with pg_receivewal

2021-12-13 Thread Dilip Kumar
On Tue, Dec 14, 2021 at 9:55 AM Marc Millas wrote: > > Hi, > postgres 13 question, > > if I setup pg_receivewal from a primary instance to a given directory, and > then setup a standby with a restore_command pointing to that directory,, the > changes on the primary are applied on the standby at

Re: log shipping with pg_receivewal

2021-12-13 Thread Michael Paquier
On Tue, Dec 14, 2021 at 05:25:04AM +0100, Marc Millas wrote: > My question: as the synchronous option is supposed to make pg_receivewal > write transaction immediately in the wal files, is there a way to ask the > standby to apply them on the fly ie. without waiting a wal file change ? Nope, there

log shipping with pg_receivewal

2021-12-13 Thread Marc Millas
Hi, postgres 13 question, if I setup pg_receivewal from a primary instance to a given directory, and then setup a standby with a restore_command pointing to that directory,, the changes on the primary are applied on the standby at each wal change. And this, even if I run pg_receivewal with the --s