Re: perlcritic: prohibit map and grep in void conext

Поиск
Список
Период
Сортировка
От Dagfinn Ilmari Mannsåker
Тема Re: perlcritic: prohibit map and grep in void conext
Дата
Msg-id 87mtp3uqip.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответ на perlcritic: prohibit map and grep in void conext  (ilmari@ilmari.org (Dagfinn Ilmari Mannsåker))
Ответы Re: perlcritic: prohibit map and grep in void conext  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:

> On Wed, Jul 28, 2021 at 01:26:23PM +0200, Daniel Gustafsson wrote:
>> I'm fine with increasing this policy, but I don't have strong feelings.  If we
>> feel the perlcritic policy change is too much, I would still prefer to go ahead
>> with the map rewrite part of the patch though.
>
> I have no issue either about the rewrite part of the patch, so I'd
> tend to just do this part and move on.  Daniel, would you like to
> apply that?

Why the resistance to the perlcritic part?  That one case is the only
violation in the tree today, and it's a pattern we don't want to let
back in (I will surely object every time I see it when reviewing
patches), so why not automate it?

- ilmari



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Mark all GUC variable as PGDLLIMPORT
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: create table like: ACCESS METHOD