Re: plan shape work

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: plan shape work
Дата
Msg-id CA+Tgmob8am2whM==570_7b8nKk7tWV-GoV9CVSioSWKhTKUFYw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: plan shape work  (Junwang Zhao <zhjwpku@gmail.com>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления: