Re: Remove remnants of "snapshot too old" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Remove remnants of "snapshot too old"
Date
Msg-id 2240057.1733275479@sss.pgh.pa.us
Whole thread Raw
In response to Re: Remove remnants of "snapshot too old"  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2024-12-03 22:06:59 +0200, Heikki Linnakangas wrote:
>> I spotted some more remnants of the "snapshot too old" feature that was
>> removed in v17. Barring objections, I will commit the attached patch to tidy
>> up.

> Most of this I agree with. But I'm not sure just removing the toast snapshot
> stuff is good - we've had a bunch of bugs where we don't hold a snapshot for
> long enough to actually ensure that toast tuples stay alive.

Yeah, the stuff concerned with toast snapshots has nothing to do
with that old user-visible feature.  It's to keep us from writing
incorrect code, and it's still (very) needed.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Remove remnants of "snapshot too old"
Next
From: "Devulapalli, Raghuveer"
Date:
Subject: RE: Proposal for Updating CRC32C with AVX-512 Algorithm.