Re: pgbench failed when -f option contains a char '@'

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: "Wang, Shenhao" <wangsh.fnst@cn.fujitsu.com>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2020-12-20T13:31:57Z
Lists: pgsql-hackers
Hello,

> pgbench use -f filename[@weight] to receive a sql script file with a weight,

ISTM that I thought of this: "pgbench -f filen@me@1" does work.

   sh> touch foo@bla
   sh> pgbench -f foo@bla@1
   pgbench: fatal: empty command list for script "foo@bla"

The documentation could point this out, though.

-- 
Fabien.



Commits

  1. Doc: improve description of pgbench script weights.