Re: pgbench failed when -f option contains a char '@'
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>,
"Wang, Shenhao" <wangsh.fnst@cn.fujitsu.com>,
"pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2020-12-20T13:43:01Z
Lists: pgsql-hackers
Attachments
- pgbench-weight-doc-1.patch (text/x-diff) patch
Hello Tom, >> I think we should just leave this as it is. The user can simply rename >> the file. > > Yeah. The assumption when we defined the script-weight syntax was that > there's no particular reason to use "@" in a script file name, and > I don't see why that's a bad assumption. The "parser" looks for the last @ in the argument, so the simple workaround is to append "@1". I suggest the attached doc update, or anything in better English. -- Fabien.
Commits
-
Doc: improve description of pgbench script weights.
- fafc6f716ade 10.16 landed
- c7a0b94c4528 9.6.21 landed
- 3989fdab48d9 12.6 landed
- 22d1569af95d 13.2 landed
- 1990ce186ee6 14.0 landed
- 14c6afbbb308 11.11 landed