On Mon, Aug 30, 2021 at 3:26 PM Ronan Dunklau <ronan.dunk...@aiven.io> wrote: > > 7) How about we let pg_receivewal use READ_REPLICATION_SLOT as an option? > > From my point of view, I already expected it to use something like that when > using a replication slot. Maybe an option to turn it off could be useful ?
IMO, pg_receivewal should have a way to turn off/on using READ_REPLICATION_SLOT. Imagine if the postgres server doesn't support READ_REPLICATION_SLOT (a lower version) but for some reasons the pg_receivewal(running separately) is upgraded to the version that uses READ_REPLICATION_SLOT, knowing that the server doesn't support READ_REPLICATION_SLOT why should user let pg_receivewal run an unnecessary code? Regards, Bharath Rupireddy.