Re: Changing set_session implementation

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Re: Changing set_session implementation
Date: 2017-02-08 14:14:45
Message-ID: F96AFAEE-625A-40BA-A897-C31B98586A7D@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg


> On Feb 8, 2017, at 05:35, Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> wrote:
> Correct: by default psycopg would just run BEGIN to start a new
> transaction, leaving the choice of the isolation level to the database
> config file, the connection setting etc. If an isolation level
> different from DEFAULT is selected (or other session characteristics,
> such as READ ONLY) then it will use "BEGIN ISOLATION LEVEL ..." to
> start further transactions.

Exactly the behavior I was hoping for! Anything that reduces the overheat chatter at session establishment is a plus to me.

Thanks!

--
-- Christophe Pettus
xof(at)thebuild(dot)com

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2017-02-13 13:49:20 OSX packages to test
Previous Message Daniele Varrazzo 2017-02-08 13:45:03 Psycopg 2.7 beta 1 released