Re: Cleanup: PGProc->links doesn't need to be the first field anymore

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: Cleanup: PGProc->links doesn't need to be the first field anymore
Дата
Msg-id CAJ7c6TM=oMPS1WD8c4J9Dqn3Za7baZsz8-g9GNdSSea5_uJXQA@mail.gmail.com
обсуждение исходный текст
Ответ на Cleanup: PGProc->links doesn't need to be the first field anymore  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
Hi Heikki,

> I tried moving it and ran the regression tests. That revealed one place
> where we still don't use dlist_container:
>
> >       if (!dlist_is_empty(procgloballist))
> >       {
> >               MyProc = (PGPROC *) dlist_pop_head_node(procgloballist);
> > ...
>
> I believe that was just an oversight. Trivial patch attached.

I tested your patch. LGTM.

PGPROC is exposed to third-party code, but since we don't change the
structure this time, the extensions will not be affected.

-- 
Best regards,
Aleksander Alekseev



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