Closed zsalvet closed 4 months ago
Fixing this bug is not on my roadmap. Psycopg 3 has been released and it is likely not affected by this problem.
If you want the bug fixed as a paid consultancy please get in touch privately.
Otherwise please make a MR with your changeset and also include a test in CI to show that it works as expected.
I would like to reopen issue 1414... the problem stems from improper handling of static variables during repeated module initialization (we encountered it during Python interpreter reinitialization in OpenPBS server). Please see the patch attached... encodings_reinit_patch.txt