At Thu, 25 Nov 2021 11:37:37 -0300, Alvaro Herrera
wrote in
> On 2021-Nov-24, Kyotaro Horiguchi wrote:
>
> > At Tue, 23 Nov 2021 11:21:05 -0300, Alvaro Herrera
> > wrote in
>
> > > I wonder why did we make it round down rather than up. Does th
t_wal_keep_size=8MB and wal segments of 16 MB,
> the slot gets invalidated with more than zero reserved segments?
That rounding behavior is the way we are generally doing on similar
variables. It is based on the behavior of ConvertToXSegs(). So
max_wal_size for example is rounded-up the same way.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
le cluster using physical replication.
I don't think it is a proper behavior from the security perspective.
It seems to me that we need to restrict physical replication to
require CONNECT privilege on all databases, or separate physical
replication privilege from logical replication privilege.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center