Re: [HACKERS] GSoC 2017 Proposal for predicate locking in hash index

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] GSoC 2017 Proposal for predicate locking in hash index
Дата
Msg-id 20170622154252.cazet5q4rpdm6umv@alvherre.pgsql
обсуждение исходный текст
Ответ на [HACKERS] GSoC 2017 Proposal for predicate locking in hash index  (Shubham Barai <shubhambaraiss@gmail.com>)
Ответы Re: [HACKERS] GSoC 2017 Proposal for predicate locking in hash index  (Shubham Barai <shubhambaraiss@gmail.com>)
Список pgsql-hackers
Shubham Barai wrote:
> Hi,
> 
> Now that hash index support write-ahead logging, it will be great if we add
> support for predicate locking to it.
> Implementation of predicate locking in hash index seems very simple.
> I have already made changes in the code. I am currently working on testing.

So if I understand correctly, this would only cause a false positive if
two transactions have a rw/ww conflict in different tuples in the same
bucket.  Is that what we expect?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] [patch] pg_dump/pg_restore zerror() and strerror()mishap
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] PATCH: Batch/pipelining support for libpq