Re: Repeatable Read Isolation Level "transaction start time" - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Repeatable Read Isolation Level "transaction start time"
Date
Msg-id e9dba83f-0fba-4113-a13a-58aa2a98f092@aklaver.com
Whole thread Raw
In response to Re: Repeatable Read Isolation Level "transaction start time"  (Greg Sabino Mullane <htamfids@gmail.com>)
Responses Re: Repeatable Read Isolation Level "transaction start time"
List pgsql-general

On 9/25/24 10:22 AM, Greg Sabino Mullane wrote:
> On Tue, Sep 24, 2024 at 10:28 AM Tom Lane <tgl@sss.pgh.pa.us 
> <mailto:tgl@sss.pgh.pa.us>> 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
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: Repeatable Read Isolation Level "transaction start time"
Next
From: Ron Johnson
Date:
Subject: Re: Repeatable Read Isolation Level "transaction start time"