Re: Avoid call MaintainOldSnapshotTimeMapping, if old_snapshot_threshold is disabled.

2021-06-17 Thread Ranier Vilela
Em qui., 17 de jun. de 2021 às 22:08, Andres Freund escreveu: > Hi, > > On 2021-06-17 21:27:15 -0300, Ranier Vilela wrote: > > While another long thread discusses the situation of > old_snapshot_threshold, > > I believe we can improve procarray.c by avoiding calling > > MaintainOldSnapshotTimeMap

Re: Avoid call MaintainOldSnapshotTimeMapping, if old_snapshot_threshold is disabled.

2021-06-17 Thread Andres Freund
Hi, On 2021-06-17 21:27:15 -0300, Ranier Vilela wrote: > While another long thread discusses the situation of old_snapshot_threshold, > I believe we can improve procarray.c by avoiding calling > MaintainOldSnapshotTimeMapping (src/backend/utils/time/snapmgr.c). > > There's a very explicit comment