Re: drop-index-concurrently-1 on master fails at serializable

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: drop-index-concurrently-1 on master fails at serializable
Дата
Msg-id 1381527837.18570.YahooMailNeo@web162905.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: drop-index-concurrently-1 on master fails at serializable  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> wrote:
> On 2013-10-08 15:01:26 -0700, Kevin Grittner wrote:
>> Kevin Grittner <kgrittn@ymail.com> wrote:
>>
>> > [ isolation test failed at snapshot-based isolation levels ]
>>
>> Fix pushed, that looks for the right results based on isolation level.
>
> Hm, given what we're trying to test here, wouldn't it be better to
> explicitly use READ COMMITTED?

I thought about that approach, but it seemed better to make sure
that things didn't get broken at any isolation level by patches
dealing with DROP INDEX CONCURRENTLY.  If you're sure that could
never happen, we could save a few dozen lines of isolation test
code.

It's not like READ COMMITTED will never get tested -- I would bet
that upwards of 99% of the make installcheck-world runs or make
installcheck -C src/test/isolation runs are at that isolation
level.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: proposal: simple date constructor from numeric values
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: GIN improvements part 1: additional information