Re: BUG #15076: postmaster crashes unexpectedly when using up arrowkey in psql command - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #15076: postmaster crashes unexpectedly when using up arrowkey in psql command
Date
Msg-id CABUevEz6H0AHkShhZ0cYO=sUdg+8qwmnt8_S7SMg1FKXhdpHpg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15076: postmaster crashes unexpectedly when using up arrowkey in psql command  (趙明春 <mzhao@insight-tec.co.jp>)
Responses Re: BUG #15076: postmaster crashes unexpectedly when using up arrowkey in psql command  (趙明春 <mzhao@insight-tec.co.jp>)
List pgsql-bugs
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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT
Next
From: PG Bug reporting form
Date:
Subject: BUG #15085: Domain "not null" constraint doesn't detect a nullreturned from a resultset