Re: Segfault on ANALYZE in SERIALIZABLE isolation

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Segfault on ANALYZE in SERIALIZABLE isolation
Дата
Msg-id 20190519232656.mokwnozjgy25xqxl@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Segfault on ANALYZE in SERIALIZABLE isolation  (Sergei Kornilov <sk@zsrv.org>)
Список pgsql-hackers
Hi,

On 2019-05-18 18:12:31 +0300, Sergei Kornilov wrote:
> Seems table_beginscan_analyze (src/include/access/tableam.h) should not pass second argument as NULL.

As hopefully explained downthread, and in the commit message, that's not
really the concern. We shouldn't use the snapshot in the first place.

> PS: also I noticed in src/include/utils/snapshot.h exactly same
> comment for both SNAPSHOT_SELF and SNAPSHOT_DIRTY - they have no
> difference?

That was copy & paste mistake. Fixed. Also expanded the comments a
bit. Thanks for noticing!

Greetings,

Andres Freund



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: sample scans and predicate locking
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Avoiding hash join batch explosions with extreme skew and weirdstats