RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows
От
Hayato Kuroda (Fujitsu)
Тема
RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows
Дата
Msg-id
TYAPR01MB5866F5F7764669A07C7F5E2FF5D8A@TYAPR01MB5866.jpnprd01.prod.outlook.com
Ответ на
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows (Kyotaro Horiguchi)
Список
Дерево обсуждения
pg_ctl start may return 0 even if the postmaster has been already started on Windows "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Michael Paquier <michael@paquier.xyz>
RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Shlok Kyal <shlok.kyal.oss@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
RE: pg_ctl start may return 0 even if the postmaster has been already started on Windows "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Robert Haas <robertmhaas@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Michael Paquier <michael@paquier.xyz>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Robert Haas <robertmhaas@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Michael Paquier <michael@paquier.xyz>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Noah Misch <noah@leadboat.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Michael Paquier <michael@paquier.xyz>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Michael Paquier <michael@paquier.xyz>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Andrew Dunstan <andrew@dunslane.net>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Sutou Kouhei <kou@clear-code.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Yasir Shah <yasir.hussain.shah@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Yasir <yasir.hussain.shah@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Robert Haas <robertmhaas@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows vignesh C <vignesh21@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Bryan Green <dbryan.green@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Bryan Green <dbryan.green@gmail.com>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Álvaro Herrera <alvherre@kurilemu.de>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Michael Paquier <michael@paquier.xyz>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Michael Paquier <michael@paquier.xyz>
Re: pg_ctl start may return 0 even if the postmaster has been already started on Windows Tom Lane <tgl@sss.pgh.pa.us>
Dear Horiguchi-san, Shlok, > > At Fri, 6 Oct 2023 12:28:32 +0530, Shlok Kyal wrote > i> D:\project\pg_dev\bin>pg_ctl -D ../data -l data2.log start > > pg_ctl: another server might be running; trying to start server anyway > > waiting for server to start....pg_ctl: launcher shell died > > > > The output message after patch is different from the HEAD. I felt that > > with patch as well we should get the message "pg_ctl: could not start > > server". > > Is this message change intentional? > > Partly no, partly yes. My focus was on verifying the accuracy of > identifying the actual postmaster PID on Windows. The current patch > provides a detailed description of the events, primarily because I > lack a comprehensive understanding of both the behavior of Windows > APIs and the associated processes. Given that context, the messages > essentially serve debugging purposes. > > I agree with your suggestion. Ultimately, if there's a possibility > for this to be committed, the message will be consolidated to "could > not start server". Based on the suggestion, I tried to update the patch. A new argument is_valid is added for reporting callee. Also, reporting formats are adjusted based on other functions. How do you think? Best Regards, Hayato Kuroda FUJITSU LIMITED
В списке pgsql-hackers по дате отправления
От: Bharath Rupireddy
Дата: