Re: Re: [COMMITTERS] pgsql: Don't override arguments set via options with positional argumen
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Re: [COMMITTERS] pgsql: Don't override arguments set via options with positional argumen |
| Дата | |
| Msg-id | 1165.1334757230@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Re: [COMMITTERS] pgsql: Don't override arguments set via options with positional argumen (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: Re: [COMMITTERS] pgsql: Don't override arguments set
via options with positional argumen
|
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> My vote is to revert this altogether and leave it be. In the
> alternative, make it an error.
You mean in HEAD too? I don't agree with that, for sure. What this
patch is accomplishing is to make sure that the less-commonly-used
programs have similar command-line-parsing behavior to psql and pg_dump,
where we long ago realized that failure to check this carefully could
result in very confusing behavior. (Especially on machines where
getopt is willing to rearrange the command line.)
I agree with Andrew that this is a bug fix. I can see the argument
for not applying it to back branches, but not for declaring that it's
not a bug.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера