Re: table_tuple_lock's snapshot argument

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Alexander Korotkov <aekorotkov(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: table_tuple_lock's snapshot argument
Date: 2025-03-10 16:55:41
Message-ID: CAEudQArUT1dE45WN87F-Gb7XMy_hW6x1DFd3sqdhhxP-RMDa0Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em seg., 10 de mar. de 2025 às 13:52, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
escreveu:

> 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.
>
Thanks.

best regards,
Ranier Vilela

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2025-03-10 17:20:57 Re: Query ID Calculation Fix for DISTINCT / ORDER BY and LIMIT / OFFSET
Previous Message Heikki Linnakangas 2025-03-10 16:52:50 Re: table_tuple_lock's snapshot argument