Cache invalidation bug in RelationGetIndexAttrBitmap()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Cache invalidation bug in RelationGetIndexAttrBitmap()
Дата
Msg-id 20140514155204.GE23943@awork2.anarazel.de
обсуждение исходный текст
Ответы Re: Cache invalidation bug in RelationGetIndexAttrBitmap()
Re: Cache invalidation bug in RelationGetIndexAttrBitmap()
Список pgsql-hackers
On 2014-05-14 15:17:39 +0200, Andres Freund wrote:
> On 2014-05-14 15:08:08 +0200, Tomas Vondra wrote:
> > Apparently there's something wrong with 'test-decoding-check':
>
> Man. I shouldn't have asked... My code. There's some output in there
> that's probably triggered by the extraordinarily long runtimes, but
> there's definitely something else wrong.
> My gut feeling says it's in RelationGetIndexList().

Nearly right. It's in RelationGetIndexAttrBitmap(). Fix attached.

Tomas, thanks for that. I've never (and probably will never) run
CLOBBER_CACHE_RECURSIVELY during development. Having a machine do that
regularly is really helpful. How long does a single testrun take? It
takes hundreds of seconds here to do a single UPDATE?

There were some more differences but those are all harmless and caused
by the extraordinarily long runtime (autovacuums). I think we need to
add a feature to test_decoding to suppress displaying transactions
without changes. Ick.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Wanna help PostgreSQL
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Wanna help PostgreSQL