Re: shadow variables - pg15 edition

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: shadow variables - pg15 edition
Дата
Msg-id CAApHDvrgMWgPKEaby0R2Jnf3BhRdtdH3ysa1cVyBmZ7t8xWvvg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: shadow variables - pg15 edition  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Thu, 25 Aug 2022 at 13:46, David Rowley <dgrowleyml@gmail.com> wrote:
> I've attached a patch which I think improves the code in
> gistRelocateBuildBuffersOnSplit() so that there's no longer a shadowed
> variable. I also benchmarked this method in a tight loop and can
> measure no performance change from getting the loop index this way vs
> the old way.

I've now pushed this patch too.

David



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: shadow variables - pg15 edition
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pg_regress: lookup shellprog in $PATH