Re: Better error message when --single is not the first arg to postgres executable
В списке pgsql-hackers по дате отправления:
| От | Nathan Bossart |
|---|---|
| Тема | Re: Better error message when --single is not the first arg to postgres executable |
| Дата | |
| Msg-id | ZmC6F4w9tCgwTAJK@nathan обсуждение исходный текст |
| Ответ на | Better error message when --single is not the first arg to postgres executable (Greg Sabino Mullane <htamfids@gmail.com>) |
| Ответы |
Re: Better error message when --single is not the first arg to postgres executable
|
| Список | pgsql-hackers |
On Wed, Jun 05, 2024 at 02:51:05PM -0400, Greg Sabino Mullane wrote: > Please find attached a quick patch to prevent this particularly bad error > message for running "postgres", when making the common mistake of > forgetting to put the "--single" option first because you added an earlier > arg (esp. datadir) Could we remove the requirement that --single must be first? I'm not thrilled about adding a list of "must be first" options that needs to stay updated, but given this list probably doesn't change too frequently, maybe that's still better than a more invasive patch to allow specifying these options in any order... -- nathan
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера