Re: Confusing error message in pgbench

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2017-08-03T09:09:50Z
Lists: pgsql-hackers
>> 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.

-- 
Fabien.


Commits

  1. Remove pgbench's restriction on placement of -M switch.