Re: Segfault on ANALYZE in SERIALIZABLE isolation

Sergei Kornilov <sk@zsrv.org>

From: Sergei Kornilov <sk@zsrv.org>
To: Joe Wildish <joe-postgresql.org@elusive.cx>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Andres Freund <andres@anarazel.de>
Date: 2019-05-18T15:12:31Z
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



Commits

  1. Fix and improve SnapshotType comments.

  2. tableam: VACUUM and ANALYZE support.