public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Greg Sabino Mullane <[email protected]>
To: Tom Lane <[email protected]>
Cc: Wizard Brony <[email protected]>
Cc: [email protected]
Subject: Re: Repeatable Read Isolation Level "transaction start time"
Date: Wed, 25 Sep 2024 10:44:42 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKAnmmLt2ezcf7-LgJkO_oeqK+Ei+XB6F3pHk2mnyadRq3corQ@mail.gmail.com>
References: <[email protected]>
	<[email protected]>
	<CAKAnmmLt2ezcf7-LgJkO_oeqK+Ei+XB6F3pHk2mnyadRq3corQ@mail.gmail.com>



On 9/25/24 10:22 AM, Greg Sabino Mullane wrote:
> On Tue, Sep 24, 2024 at 10:28 AM Tom Lane <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     It's even looser than that, really: it's the first statement that
>     requires an MVCC snapshot.
> 
> 
> Hm....so why does "SELECT 1;" work as a transaction start marker then, 
> as opposed to "SHOW work_mem;", which does not? Do we simply consider 
> anything with a SELECT as needing a snapshot?


SELECT some_func();

Where some_func() does something that requires a snapshot.

> 
> Cheers,
> Greg
> 

-- 
Adrian Klaver
[email protected]






view thread (11+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Repeatable Read Isolation Level "transaction start time"
  In-Reply-To: <[email protected]>

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

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