PostgreSQL doesn't support question mark (?) placeholder, but it uses the "dollar number" notation ($1) instead. I should implement this conversion when the user asks to prepare a sql statement, transforming:
DELETE FROM t WHERE i = ?
in
DELETE FROM t WHERE i = $1