| From: | Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> |
|---|---|
| To: | Stefan Knecht <knecht(dot)stefan(at)gmail(dot)com> |
| Cc: | psycopg(at)postgresql(dot)org |
| Subject: | Re: Puzzling situation with threads and psycopg2 on RDS |
| Date: | 2022-10-17 12:36:45 |
| Message-ID: | CA+mi_8aRXyLbE_KhFO6ziO57X3tG1ArQ7WSVMWEy7bdPSbVHLw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | psycopg |
On Mon, 17 Oct 2022 at 13:08, Stefan Knecht <knecht(dot)stefan(at)gmail(dot)com> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Raymond | 2022-11-01 16:22:46 | Error while trying to install in 3.11 |
| Previous Message | Stefan Knecht | 2022-10-17 12:35:10 | Re: Puzzling situation with threads and psycopg2 on RDS |