>> Indeed. It doesn't look that hard: AFAICS the problem is just that >> process_sql_command() is making premature decisions about whether to >> extract parameters from the SQL commands. Proposed patch attached. > > Great. Patch looks good to me.
Too me as well: code looks ok, patch applies, compiles, make check ok, manual tests with pgbench ok.
That is one more patch about pgbench in the queue.