Re: removing unnecessary get_att*() lsyscache functions
От
Michael Paquier
Тема
Re: removing unnecessary get_att*() lsyscache functions
Дата
Msg-id
20181023001117.GC1651@paquier.xyz
Ответ на
Re: removing unnecessary get_att*() lsyscache functions (Peter Eisentraut)
Список
Дерево обсуждения
removing unnecessary get_att*() lsyscache functions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: removing unnecessary get_att*() lsyscache functions Michael Paquier <michael@paquier.xyz>
Re: removing unnecessary get_att*() lsyscache functions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: removing unnecessary get_att*() lsyscache functions Michael Paquier <michael@paquier.xyz>
Re: removing unnecessary get_att*() lsyscache functions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: removing unnecessary get_att*() lsyscache functions Andres Freund <andres@anarazel.de>
On Mon, Oct 22, 2018 at 07:12:28PM +0200, Peter Eisentraut wrote:
> OK, slightly reworked version attached.
+ attTup = (Form_pg_attribute) GETSTRUCT(tuple);
attnum = ((Form_pg_attribute) GETSTRUCT(tuple))->attnum;
No need to call twice GETSTRUCT here.. The rest looks fine.
--
Michael
В списке pgsql-hackers по дате отправления