Alvaro Herrera <alvhe...@alvh.no-ip.org> writes: > On 2021-Sep-30, Tom Lane wrote: >> There's still the issue of these tests overriding postgresql.conf >> entries made by init(), but maybe we can live with that?
> I vote to at least have has_archiving=>1 set wal_level=replica, and > potentially max_wal_senders=2 too (allows pg_basebackup). I think this requires a bit more investigation. I looked quickly through the pre-existing tests that set has_archiving=>1, and every single one of them also sets allows_streaming=>1, which no doubt explains why this issue hasn't come up before. So now I'm wondering if any of those other tests is setting allows_streaming only because of this configuration issue. More to the point, since we've not previously used the combination of has_archiving without allows_streaming, I wonder exactly how we want to define it to work. I'm not really convinced that it should be defined as "allows basebackup even though replication is supposed to be off". Perhaps a compromise could be to invent a third option "allows_basebackup", so that init() actually knows what's going on? regards, tom lane