Re: Dubious shortcut in ckpt_buforder_comparator()

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2018-01-10T19:57:51Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2018-01-10 13:06:50 -0500, Tom Lane wrote:
>> So I think we should get rid of that micro-optimization, which is
>> probably useless anyway from a performance standpoint, and do the
>> comparison honestly.  Any objections?

> No, absolutely none. You're going to change it?

Will do.

			regards, tom lane


Commits

  1. Remove dubious micro-optimization in ckpt_buforder_comparator().