[PATCH] More Coccinelli cleanups

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема [PATCH] More Coccinelli cleanups
Дата
Msg-id AANLkTimFfesRaffU8Z8aXjnPmfKy9wMS0z0w=w9okWKE@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PATCH] More Coccinelli cleanups  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi list,

Since my previous Coccinelle cleanup patches have gained positive
feedback I decided to try some more.

This time I wrote my own spatches.

patch 0001 turns (a - b == 0) into (a == b) and similarly with !=
patch 0002 applies the same to operators >, >=, <, <=

I'm well aware that there's a point where code cleanups defeat their
purpose and become a burden. So this will probably be my last one,
I'll go to doing productive things instead. :)

Regards,
Marti

Вложения

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: sorted writes for checkpoints
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] V3: Idle in transaction cancellation