On Fri, Dec 7, 2018 at 7:25 PM Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
> The first thing, which comes to the mind is undo log. When you have
> undo log, then on new subtransaction you basically memorize the
> current undo log position. If subtransaction rollbacks, you have to
> just play back undo log until reach memorized position. This might be
> an option for zheap. But actually, I didn't inspect zheap code to
> understand how far we're from this.
Yeah, zheap works this way.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company