Re: Re: [COMMITTERS] pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl
От
Andres Freund
Тема
Re: Re: [COMMITTERS] pgsql: Make initdb's suggested
"pg_ctl start" command line more reliabl
Дата
Msg-id
20160906172311.ngvezt24jak4tlgb@alap3.anarazel.de
Ответ на
Re: Re: [COMMITTERS] pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl (Tom Lane)
Список
Дерево обсуждения
Re: Re: [COMMITTERS] pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl Tom Lane <tgl@sss.pgh.pa.us>
On 2016-09-06 13:08:51 -0400, Tom Lane wrote: > Dash is considered a character that needs quoting. It might be possible > to avoid that if we could be certain that appendShellString's output would > never be placed in a spot where it could be taken for a switch, but that > seems like a large assumption to me. Or maybe we could treat it as > forcing quotes only if it starts the string; but I don't personally care > enough to write the code for that. Feel free if you want to. But quotes are interpreted by the shell, not by the called program. So I don't think putting --whatnot in quotes changes anything here?
В списке pgsql-hackers по дате отправления
От: Claudio Freire
Дата:
От: Tom Lane
Дата: