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

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: pgbench failed when -f option contains a char '@'
Дата
Msg-id alpine.DEB.2.22.394.2012201436420.17354@pseudo
обсуждение исходный текст
Ответ на Re: pgbench failed when -f option contains a char '@'  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgbench failed when -f option contains a char '@'  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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.
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench failed when -f option contains a char '@'
Следующее
От: Dmitry Markman
Дата:
Сообщение: how to find log