On Fri, 14 Apr 2023 at 13:15, Laurenz Albe <laurenz.a...@cybertec.at> wrote: > > On Fri, 2023-04-14 at 18:43 +0200, Alvaro Herrera wrote: > > On 2023-Apr-14, Greg Stark wrote: > > > I assume people would use hot_standby_feedback if they have streaming > > > replication. > > > > Yes, either that or a replication slot. > > A replication slot doesn't do anything against snapshot conflicts, > which is what we are discussing here. Or are we not?
They're related -- the replication slot holds the feedback xmin so that if your standby disconnects it can reconnect later and not have lost data in the meantime. At least I think that's what I think it does -- I don't know if I'm just assuming that, but xmin is indeed in pg_replication_slots. -- greg