Re:Building a Django driver for Psycopg 3
by jsmeaton on Monday August 02, 2021 @08:30AM
(#28035690)
Casually building a django db backend as an acceptance test. Nice work and great write up!
I had déjà vu reading the section on bind parameters in aggregate queries. The oracle backend had a similar issue that was fixed/hacked by comparing values and grouping them into named parameters. https://code.djangoproject.com/ticket/27632
Re:Building a Django driver for Psycopg 3
by dvarrazzo on Monday August 02, 2021 @05:57PM
(#28043215)
This is interesting, thank you for pointing it out. Worth looking if the problems can be fixed the same way in both the adapter (and probably everything else using server-side binding).
I had déjà vu reading the section on bind parameters in aggregate queries. The oracle backend had a similar issue that was fixed/hacked by comparing values and grouping them into named parameters. https://code.djangoproject.com/ticket/27632