public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniele Varrazzo <[email protected]>
To: Stefan Knecht <[email protected]>
Cc: [email protected]
Subject: Re: Puzzling situation with threads and psycopg2 on RDS
Date: Mon, 17 Oct 2022 13:36:45 +0100
Message-ID: <CA+mi_8aRXyLbE_KhFO6ziO57X3tG1ArQ7WSVMWEy7bdPSbVHLw@mail.gmail.com> (raw)
In-Reply-To: <CAP50yQ8iGb+eCeUjpE2h+t2UR+Lqu2cfoqAq0B==iS9Q+vEEZg@mail.gmail.com>
References: <CAP50yQ-PUwP80+awO-U3Ud45HCZHZ=fjK3L2iWh4CfcEPF1p6A@mail.gmail.com>
	<CA+mi_8aX4FsE6=HWF08tf579G8Wgg9cQOtN2BkmtTehyxAb5FA@mail.gmail.com>
	<CAP50yQ8iGb+eCeUjpE2h+t2UR+Lqu2cfoqAq0B==iS9Q+vEEZg@mail.gmail.com>

On Mon, 17 Oct 2022 at 13:08, Stefan Knecht <[email protected]> wrote:

>> Which version of psycopg are you
>> using? Some old one have problems with closing connections in
>> multiprocess environments. That was fixed in psycopg 2.8 (#829).
>>
>
> This is psycopg 3.1.3
>
> And I just realized that all the other threading code I've got is on psycopg2-binary 2.8. Has there something changed with threads in v3 ?

Ok, you mentioned psycopg2 in the title, so I thought about that past
issue we found. Psycopg 3 shouldn't have a massively different
behaviour (and is tested for issue #829).

-- Daniele





view thread (6+ messages)

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]
  Subject: Re: Puzzling situation with threads and psycopg2 on RDS
  In-Reply-To: <CA+mi_8aRXyLbE_KhFO6ziO57X3tG1ArQ7WSVMWEy7bdPSbVHLw@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox