Re: BUG #15076: postmaster crashes unexpectedly when using up arrowkey in psql command

Поиск
Список
Период
Сортировка
От 趙明春
Тема Re: BUG #15076: postmaster crashes unexpectedly when using up arrowkey in psql command
Дата
Msg-id CAGwivJEmOJFBwjsFW0mJfvt3mZETMtBZvLXyffwsoU+FoUWsrA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #15076: postmaster crashes unexpectedly when using up arrowkey in psql command  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-bugs
Hi, Magnus,

> That definitely sounds like it should be worth a try. 

Sounds good. I'll try to make a patch for it.

> That sounds very strange. I'm not saying you're not running into an issue there, but my guess would be you're actually running into a different problem (which may have similar symptoms).

I see, I'll look into the way to reproduce the same symptom.

Thanks,
Mingchun

-----------------------------------------------------------------------------------
 Insight Technology, Inc.  Mingchun Zhao,  趙 明春(チョウ メイシュン)
  EbisBusinessTower 5F, 1-19-19, Shibuya-ku, Tokyo
  TEL  : +81-3-5475-1452            FAX : +81-3-5475-1451
-----------------------------------------------------------------------------------


2018-02-25 7:09 GMT+09:00 Magnus Hagander <magnus@hagander.net>:
On Fri, Feb 23, 2018 at 3:16 AM, 趙明春 <mzhao@insight-tec.co.jp> wrote:
Hi, Tom and Magnus,

Thanks for your information for this issue.

> AFAIC Windows has no way to disassociate a process with a console window in a similar way.

Can this be a solution for this issue to add an option CREATE_NEW_PROCESS_GROUP to CreateProcess() function into pg_ctl.exe to start postgres.exe process?

That definitely sounds like it should be worth a try. 


>  I will say though that most people run the postmaster as a background service on Windows, rather than launching it manually.

Unfortunately, we also met this issue, with poor reproducibility, when we running the postmaster as Windows Service.
Maybe this is another story than launching it manually by pg_ctl.exe.
I will update you if I get any new information.


That sounds very strange. I'm not saying you're not running into an issue there, but my guess would be you're actually running into a different problem (which may have similar symptoms).

//Magnus
 

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15085: Domain "not null" constraint doesn't detect a null returned from a resultset
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15086: Arrow keys do not work while using psql through SSHsession