Re: Segfault on ANALYZE in SERIALIZABLE isolation

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Joe Wildish <joe-postgresql(dot)org(at)elusive(dot)cx>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Segfault on ANALYZE in SERIALIZABLE isolation
Date: 2019-05-18 15:12:31
Message-ID: 9152241558192351@sas1-d856b3d759c7.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

Seems table_beginscan_analyze (src/include/access/tableam.h) should not pass second argument as NULL.
CC'ing Andres Freund

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

regards, Sergei

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-05-18 15:13:08 Re: Multivariate MCV stats can leak data to unprivileged users
Previous Message Sergei Kornilov 2019-05-18 14:31:25 Re: Segfault on ANALYZE in SERIALIZABLE isolation