Re: pgsql: Test additional speculative conflict scenarios.

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: Test additional speculative conflict scenarios.
Дата
Msg-id 20200212050717.GA1464@paquier.xyz
обсуждение исходный текст
Ответ на pgsql: Test additional speculative conflict scenarios.  (Andres Freund <andres@anarazel.de>)
Ответы Re: pgsql: Test additional speculative conflict scenarios.  (Andres Freund <andres@anarazel.de>)
Список pgsql-committers
On Wed, Feb 12, 2020 at 12:43:09AM +0000, Andres Freund wrote:
> Test additional speculative conflict scenarios.
>
> Previously, the speculative insert tests did not cover the case when a
> tuple t is inserted into a table with a unique index on a column but
> before it can insert into the index, a concurrent transaction has
> inserted a conflicting value into the index and the insertion of tuple t
> must be aborted.

guaibasaurus is unhappy after this commit:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=guaibasaurus&dt=2020-02-12%2004%3A17%3A03

Here is the culprit diff:
 application_namelocktype       mode           granted

+               transactionid  ExclusiveLock  t
 isolation/insert-conflict-specconflict-s1speculative tokenShareLock f
 isolation/insert-conflict-specconflict-s1transactionid ExclusiveLock  t
 isolation/insert-conflict-specconflict-s2speculative tokenExclusiveLock  t
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add %x to default PROMPT1 and PROMPT2 in psql
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Test additional speculative conflict scenarios.