postgres long options without value
postgres long options without value
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Every so often I find myself trying to write postgres -D ... --ssl or postgres -D ... --debug-print-plan which fails, because you need to write --ssl=on or --debug-print-plan=true etc. Have others had the same experience? Would it be worth supporting the case without value to default to on/true?
Re: postgres long options without value
От:
Euler Taveira <euler@timbira.com>
Дата:
On 04-04-2012 17:07, Peter Eisentraut wrote: > postgres -D ... --debug-print-plan > > which fails, because you need to write --ssl=on or > --debug-print-plan=true etc. > > Have others had the same experience? Would it be worth supporting the > case without value to default to on/true? > Please, don't do it. You can be fooled when we change a parameter default value (specially if you have it in a script that is used in different versions) from major versions. -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento