A draft merge request adding a psycopg3 backend to #Tryton
https://foss.heptapod.net/tryton/tryton/-/merge_requests/2408
It showed that we need to add a feature to python-sql to support the pyformat paramstyle of the the DB-API
https://peps.python.org/pep-0249/#paramstyle
Switching to psycopg3 would allow to use server side binding and thus give some freedom when processing long list of ids (as it's common with Tryton's ORM).


Shai Berger
