Re: shadow variables - pg15 edition

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: shadow variables - pg15 edition
Дата
Msg-id 20221010164549.7e5v6vvmcdtxuvov@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: shadow variables - pg15 edition  (Andres Freund <andres@anarazel.de>)
Ответы Re: shadow variables - pg15 edition  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
On 2022-10-10 09:37:38 -0700, Andres Freund wrote:
> On 2022-10-10 18:33:11 +0200, Alvaro Herrera wrote:
> > On 2022-Oct-10, Andres Freund wrote:
> > 
> > > Given the age of affected perl instances I suspect there'll not be a lot of
> > > developers affected, and the number of warnings is reasonably small too. It'd
> > > likely hurt more developers to not see the warnings locally, given that such
> > > shadowing often causes bugs.
> > 
> > Maybe we can install a filter-out in src/pl/plperl's Makefile for the
> > time being.
> 
> We could, but is it really a useful thing for something fixed 6 years ago?

As an out, a hypothetical dev could add -Wno-shadow=compatible-local to their
CFLAGS.



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

Предыдущее
От: "Imseih (AWS), Sami"
Дата:
Сообщение: Re: Add index scan progress to pg_stat_progress_vacuum
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: shadow variables - pg15 edition