| От | Tatsuhito Kasahara |
|---|---|
| Тема | About a message when "pg_ctl -w start" failed |
| Дата | |
| Msg-id | 48AD632B.2020709@oss.ntt.co.jp обсуждение исходный текст |
| Ответы |
Re: About a message when "pg_ctl -w start" failed
|
| Список | pgsql-hackers |
Hi. When we perform "pg_ctl -w start", postgres try to connect to postgres-database until timeout. If a user who perform "pg_ctl -w start" does not have authority to connect postgres-database, pg_ctl will return 1 and show "could not start server" message. But, in fact server is already starting. Therefore, users sometimes confuse. I think that if we failed on test_postmaster_connection(), pg_ctl might want to return 0 and show the message like following... "server starting, but could not connect server. Check your authority." Your thoughts? Best regards. -- Tatsuhito Kasahara kasahara.tatsuhito@oss.ntt.co.jp
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера