Re: pgsql: Add deduplication to nbtree.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pgsql: Add deduplication to nbtree.
Дата
Msg-id CAH2-Wz=Tz_e8e39qTs3Mt78P6XD9s3u7TdOUVrYZg2eTEgfB0w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Add deduplication to nbtree.  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: pgsql: Add deduplication to nbtree.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On Sun, Mar 1, 2020 at 11:42 AM Peter Geoghegan <pg@bowt.ie> wrote:
> > Do you want to try coding it that way and see what it
> > comes out like?
>
> Sure.

Attached patch shows how this could work. I prefer my original
approach, but I can see the argument for doing it this way.

If we keep my original approach, we should still add a new
"ItemPointerIsValid(&itup->t_tid)" assertion that covers the plain
tupe case in a way that mirrors the current "_bt_posting_valid(itup)"
assert.

-- 
Peter Geoghegan

Вложения

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: pgsql: Remove dead code from _bt_update_posting().
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add deduplication to nbtree.