Re: pgbench failed when -f option contains a char '@' - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbench failed when -f option contains a char '@'
Date
Msg-id alpine.DEB.2.22.394.2012201436420.17354@pseudo
Whole thread Raw
In response to Re: pgbench failed when -f option contains a char '@'  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgbench failed when -f option contains a char '@'
List pgsql-hackers
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.
Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgbench failed when -f option contains a char '@'
Next
From: Dmitry Markman
Date:
Subject: how to find log