Обсуждение: pgsql: Fix comment on B-tree insertion fastpath condition.

Поиск
Список
Период
Сортировка

pgsql: Fix comment on B-tree insertion fastpath condition.

От
Heikki Linnakangas
Дата:
Fix comment on B-tree insertion fastpath condition.

The comment earlier in the function correctly states "and the insertion
key is strictly greater than the first key in this page". That is what
we check here, not "greater than or equal".

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29d7ebf51ee33e1711fc9681f273f3de2da76ebf

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


Re: pgsql: Fix comment on B-tree insertion fastpath condition.

От
Pavan Deolasee
Дата:


On Tue, Apr 10, 2018 at 7:28 PM, Heikki Linnakangas <heikki.linnakangas@iki.fi> wrote:
Fix comment on B-tree insertion fastpath condition.

The comment earlier in the function correctly states "and the insertion
key is strictly greater than the first key in this page". That is what
we check here, not "greater than or equal".


This was part of the follow-on patch that I'd sent (which needs a little more adjustments based on Peter's feedback). But thanks for taking care of it anyways.

Thanks,
Pavan

--
 Pavan Deolasee                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services