| От | Peter Eisentraut |
|---|---|
| Тема | Re: disable prompting by default in createuser |
| Дата | |
| Msg-id | 1324581960.2641.0.camel@vanquo.pezone.net обсуждение |
| Ответ на | disable prompting by default in createuser (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: disable prompting by default in createuser
|
| Список | pgsql-hackers |
On lör, 2011-11-26 at 01:28 +0200, Peter Eisentraut wrote: > I propose that we change createuser so that it does not prompt for > anything by default. We can arrange options so that you can get prompts > for whatever is missing, but by default, a call to createuser should > just run CREATE USER with default options. The fact that createuser > issues prompts is always annoying when you create setup scripts, because > you have to be careful to specify all the necessary options, and they > are inconsistent and different between versions (although the last > change about that was a long time ago), and the whole behavior seems > contrary to the behavior of all other utilities. I don't think there'd > be a real loss by not prompting by default; after all, we don't really > want to encourage users to create more superusers, do we? Comments? Patch attached. I'll add it to the next commitfest.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера