Re: Re: [COMMITTERS] pgsql: Don't override arguments set via options with positional argumen
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: Re: [COMMITTERS] pgsql: Don't override arguments set via options with positional argumen |
| Дата | |
| Msg-id | 1334742405.29544.5.camel@vanquo.pezone.net обсуждение |
| Ответ на | Re: [COMMITTERS] pgsql: Don't override arguments set via options with positional argumen (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: Re: [COMMITTERS] pgsql: Don't override arguments set via options with positional argumen
|
| Список | pgsql-hackers |
On tis, 2012-04-17 at 19:19 -0400, Andrew Dunstan wrote: > It was discussed. I think the previous behaviour is a bug. It can't be > sane to be allowed to do: > > initdb -D foo bar It's debatable whether it should be allowed. I don't see anything wrong with it. After all, later arguments usually override earlier arguments, and non-option arguments notionally come after option arguments. Also, if this should be disallowed, would you also disallow initdb -D foo -D bar? But what I think is worse is that the "bar" is silently ignored now. If you think that this is an error, it should produce an error. My vote is to revert this altogether and leave it be. In the alternative, make it an error.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера