Re: table_tuple_lock's snapshot argument - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: table_tuple_lock's snapshot argument
Date
Msg-id db3584c6-c344-4a4c-943e-468a1a08d54d@iki.fi
Whole thread Raw
In response to Re: table_tuple_lock's snapshot argument  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: table_tuple_lock's snapshot argument
List pgsql-hackers
On 10/03/2025 18:20, Ranier Vilela wrote:
> Just for curiosity.
> *RelationFindReplTupleSeq* on the same source, does not suffer
> from the same issue?
> 
> PushActiveSnapshot(GetLatestSnapshot());
> 
> res = table_tuple_lock(rel, &(outslot->tts_tid), GetLatestSnapshot(),

:facepalm: yep, it sure does, and FindConflictTuple() too. Thanks, I'll 
go fix those too.

-- 
Heikki Linnakangas
Neon (https://neon.tech)




pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: table_tuple_lock's snapshot argument
Next
From: Ranier Vilela
Date:
Subject: Re: table_tuple_lock's snapshot argument