Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbgTt-0006Th-FR for psycopg@arkaria.postgresql.org; Sat, 16 Oct 2021 09:59:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mbgTq-0002AZ-S4 for psycopg@arkaria.postgresql.org; Sat, 16 Oct 2021 09:59:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbgTq-0002AQ-KC for psycopg@lists.postgresql.org; Sat, 16 Oct 2021 09:59:54 +0000 Received: from mail-vk1-xa2a.google.com ([2607:f8b0:4864:20::a2a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mbgTj-0007Hj-PH for psycopg@postgresql.org; Sat, 16 Oct 2021 09:59:53 +0000 Received: by mail-vk1-xa2a.google.com with SMTP id j12so6320551vka.4 for ; Sat, 16 Oct 2021 02:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/hmZy4QK1IWbuHbKhcHmk2LhPPtMNhRbPx4eDWFQrGk=; b=m8dRtR2VRkaY7JJNmKAiViIvMH415U4SY3X9KJ3ownMmPoeIzjAZB1YuXBxC2qRaxl V3uoukJaLauwlKcHP5LHSfJ+QItxRr8FrYvM9ir8n86AuIF7PYooA9TT4HXKMBKJfL64 v/vQorm4nVBP3c6At3OkbDwEx+q6Q1+CuFIsOnBOlRLqXXWrLMChicVTtIUnn68g3I2o rCWs+2tlCTLAkaQQUHC3j3X3RR+p+SmwXxkLEDADlKEDUwOS+bYUlASfrj0VaekMN3VT tD5FGqQw1yORRXQfAlBeHgrT5vvTZQQlqKabUhllz6jI1QnRNBPFxWl1sdzyvAEoTvmt IhvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/hmZy4QK1IWbuHbKhcHmk2LhPPtMNhRbPx4eDWFQrGk=; b=f5gHuGE1tzm1T2b0QBgE1uqGp9ST9rwHZ0sOrQzTm+MctM3n5Pcimokj1EGWvm2IQO oQYKdZSrCxHZNNuMDI5WPRn1GIkpEf6rHR7OeR8irP3dGquGHwsIBOrABW+06tgpcUW4 Zo7L8lU+DPAbjRw4oXTQn9sGPzxNqbRpT4Stu3EeBATfhdOwTcn3aBgSCLhcR3WwH+jO V2zcRpRHyVKrlVaEb167QV2plkiDXdLA0U+wuDGLzz1rRk62XftrPBhgWSgoo81G1UxG 35ZuTckS31uInYQSwBJeqHm3AfD1ghScueNVq5qOZ6cKd1rNp8eOt6kNLNV6xxQOC3D9 MyNA== X-Gm-Message-State: AOAM5330yu695Hjo75qJyZ8p99RwqRHIBjRl2ISAi2jb7OHIu8SAj1Z3 YGUF7Gx+nMcbevYDdTpo7c+MG0nYVwYRUege10U= X-Google-Smtp-Source: ABdhPJx29+8n9omMYYcfSbBCeH36psLZmb0ChTNzXpG4k2jF5gF512jknj9pwoxVlwrJWk4emqSHmjxkxopMJNO4SxQ= X-Received: by 2002:a1f:1283:: with SMTP id 125mr16592074vks.2.1634378386525; Sat, 16 Oct 2021 02:59:46 -0700 (PDT) MIME-Version: 1.0 References: <9a99d2d110b121542d1ea0a05066858b@paolodestefani.it> <6683df3e65fe961aa478e61db7ad687d@paolodestefani.it> <77e106b39df5f9ce6fe30c4e7be2263e@paolodestefani.it> In-Reply-To: From: Daniele Varrazzo Date: Sat, 16 Oct 2021 11:59:33 +0200 Message-ID: Subject: Re: psycopg3 transactions To: Daniel Fortunov Cc: Psycopg , Paolo De Stefani Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 15 Oct 2021 at 23:43, Daniel Fortunov wrote: > One thing I didn't understand was the wording of this suggestion: >> >> use an autocommit connection: conn.autocommit = True, eventually as connect() parameter too; > > > Is this meant to convey: >> >> use an autocommit connection: Set conn.autocommit = True (or you can provide this as a connect() parameter); Yes, I will try to use some wording like that, thank you :) -- Daniele