mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-05 17:37:55 +00:00
Five call sites repeated the same choice: `execute_values` with a `VALUES ?` statement on psycopg2, or `execute_batch` with a row of placeholders elsewhere. `execute_batch_values` makes that choice once, given the statement and the row width, so the store code no longer needs to know which driver has psycopg2's extras. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ULdieJyQoHNzeHq42H2M1p