On Sun, Sep 21, 2025 at 6:35 AM Junwang Zhao <zhjwpku@gmail.com> wrote:
> After further study, this should not be a problem, since the address of
> &gplan->plan is the same as gplan, but the code is a little bit confusing
> at first glance, I think *return (Plan *) gplan* is easier to understand
> but I don't insist ;)
Thanks for looking into it. Stylistically, I prefer the style without
the cast, but the effect is the same.
--
Robert Haas
EDB: http://www.enterprisedb.com