Re: Segfault on ANALYZE in SERIALIZABLE isolation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Segfault on ANALYZE in SERIALIZABLE isolation
Date
Msg-id 698.1558208927@sss.pgh.pa.us
Whole thread Raw
In response to Re: Segfault on ANALYZE in SERIALIZABLE isolation  (Andres Freund <andres@anarazel.de>)
Responses Re: Segfault on ANALYZE in SERIALIZABLE isolation  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Not quite - that was about the DML callbacks, this is about the scan itself. And while we have a snapshot allocated,
theanalyze version of the beginscan intentionally doesn't take a snapshot. 

Uh, what?  That's a *huge* regression.  See, eg, 7170268ef.  We
really want ANALYZE to act as though it's reading a normal MVCC
snapshot.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Multivariate MCV stats can leak data to unprivileged users
Next
From: Andres Freund
Date:
Subject: Re: Segfault on ANALYZE in SERIALIZABLE isolation