pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ranier Vilela <ranier.vf@gmail.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Alexander Korotkov <aekorotkov@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: table_tuple_lock's snapshot argument
Date: Mon, 10 Mar 2025 13:55:41 -0300
Message-ID: <CAEudQArUT1dE45WN87F-Gb7XMy_hW6x1DFd3sqdhhxP-RMDa0Q@mail.gmail.com> (raw)
In-Reply-To: <db3584c6-c344-4a4c-943e-468a1a08d54d@iki.fi>
References: <83d243d6-ad8d-4307-8b51-2ee5844f6230@iki.fi>
	<CAPpHfds1F+yc+pH3aN02uyxtG0Hk4M8eRSznXyMqp2tbR16uqw@mail.gmail.com>
	<CAPpHfdvMFn-f8t4a3e2Gcj8=+-uwUenNSk10KotKfXFepRzk3w@mail.gmail.com>
	<190b4c9f-8173-4f0d-9877-a7aebb7c41c9@iki.fi>
	<CAEudQAr-0oLQ3WdmEdN854EE2BhPzS_ftKbHJ1hw2trdK=oQFA@mail.gmail.com>
	<db3584c6-c344-4a4c-943e-468a1a08d54d@iki.fi>

Em seg., 10 de mar. de 2025 às 13:52, Heikki Linnakangas <hlinnaka@iki.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

view thread (7+ messages)

Message-ID: <CAEudQArUT1dE45WN87F-Gb7XMy_hW6x1DFd3sqdhhxP-RMDa0Q@mail.gmail.com>
Permalink:  ../CAEudQArUT1dE45WN87F-Gb7XMy_hW6x1DFd3sqdhhxP-RMDa0Q@mail.gmail.com/
Also on:    postgresql.org/message-id/CAEudQArUT1dE45WN87F-Gb7XMy_hW6x1DFd3sqdhhxP-RMDa0Q@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: ranier.vf@gmail.com, hlinnaka@iki.fi, aekorotkov@gmail.com
  Subject: Re: table_tuple_lock's snapshot argument
  In-Reply-To: <CAEudQArUT1dE45WN87F-Gb7XMy_hW6x1DFd3sqdhhxP-RMDa0Q@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox