Re: An out-of-date comment in nodeIndexonlyscan.c

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: An out-of-date comment in nodeIndexonlyscan.c
Дата
Msg-id CA+hUKGLs7BGFj15by70aykxAJL0SG2zg3S_DbFtZcbRqumpJdg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: An out-of-date comment in nodeIndexonlyscan.c  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: An out-of-date comment in nodeIndexonlyscan.c  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Sat, Jun 12, 2021 at 2:35 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> ... and here is the corresponding code change, with a test to
> demonstrate the change.
>
> I'm working on a proof-of-concept to skip the btree page lock
> sometimes too, which seems promising, but it requires some planner
> work which has temporarily pretzeled my brain.

Here's a highly experimental patch I came up with that seems to
produce the right results in simple cases, without (yet) involving the
planner.  The regression tests show single table queries, but it works
also for nest loop joins, which is where this optimisation should be
most interesting, I think.  There are a few weird things about this
patch though, and there could well be much better ways to do it, as
noted in the commit message and comments.  It's a start on the
problem...

Вложения

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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: doc issue missing type name "multirange" in chapter title
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: unnesting multirange data types