Robert Haas <> writes:
> On Fri, Oct 29, 2010 at 7:33 PM, Marti Raudsepp <> wrote:
>> 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. :)

> I like the 0002 patch better than the 0001 patch.

I'm not really thrilled with either of them, as I don't think they are
doing much to improve readability.  As for 0002, as you say, at least
the change in bgwriter.c is actively breaking things.  I'm not eager to
go through and see which of the other changes there might be affecting
overflow or signed-vs-unsigned comparison behavior.

                        regards, tom lane

Sent via pgsql-hackers mailing list (
To make changes to your subscription:

Reply via email to