On Wed, Sep 6, 2023 at 1:38 AM Andres Freund <
andres@anarazel.de> wrote:
> > > I think that makes it less likely that the compiler actually generates a
> > > constant-folded version for each of the branches. Perhaps worth some
> > > experimentation.
> >
> > Combining this way doesn't do so for me.
>
> Are you saying that the desired constant folding happened after combining the
> branches, or that it didn't happen?
Constant folding did not happen.
--
John Naylor
EDB:
http://www.enterprisedb.com