Re: Dubious shortcut in ckpt_buforder_comparator()

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2018-01-10T19:34:07Z
Lists: pgsql-hackers
Hi,

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?

Greetings,

Andres Freund


Commits

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