Re: [HACKERS] jacana hung after failing to acquire random number

2016-12-12 Thread Andrew Dunstan
On 12/12/2016 09:02 AM, Heikki Linnakangas wrote: On 12/12/2016 03:40 PM, Andrew Dunstan wrote: Or should we at least get pg_regress to try to shut down the postmaster if it can't connect after 120 seconds? I think that makes a lot of sense, independently of this random stuff. I will

Re: [HACKERS] jacana hung after failing to acquire random number

2016-12-12 Thread Tom Lane
Heikki Linnakangas writes: > On 12/12/2016 03:40 PM, Andrew Dunstan wrote: >> Should one or more of these errors be fatal? Or should we at least get >> pg_regress to try to shut down the postmaster if it can't connect after >> 120 seconds? > Making it fatal, i.e. bringing down

Re: [HACKERS] jacana hung after failing to acquire random number

2016-12-12 Thread Heikki Linnakangas
On 12/12/2016 03:40 PM, Andrew Dunstan wrote: Or should we at least get pg_regress to try to shut down the postmaster if it can't connect after 120 seconds? I think that makes a lot of sense, independently of this random stuff. - Heikki -- Sent via pgsql-hackers mailing list

Re: [HACKERS] jacana hung after failing to acquire random number

2016-12-12 Thread Heikki Linnakangas
On 12/12/2016 03:40 PM, Andrew Dunstan wrote: On 12/12/2016 02:32 AM, Heikki Linnakangas wrote: On 12/12/2016 05:58 AM, Michael Paquier wrote: On Sun, Dec 11, 2016 at 9:06 AM, Andrew Dunstan wrote: jascana (mingw, 64 bit compiler, no openssl) is currently hung on

Re: [HACKERS] jacana hung after failing to acquire random number

2016-12-12 Thread Andrew Dunstan
On 12/12/2016 02:32 AM, Heikki Linnakangas wrote: On 12/12/2016 05:58 AM, Michael Paquier wrote: On Sun, Dec 11, 2016 at 9:06 AM, Andrew Dunstan wrote: jascana (mingw, 64 bit compiler, no openssl) is currently hung on "make check". After starting the autovacuum

Re: [HACKERS] jacana hung after failing to acquire random number

2016-12-11 Thread Michael Paquier
On Mon, Dec 12, 2016 at 4:32 PM, Heikki Linnakangas wrote: > That test is broken. It looks like the x"$VAR" = x"constant" idiom, but the > left side of the comparison doesn't have the 'x'. Oops. Good catch. > This makes me wonder if we should work a bit harder to get a good

Re: [HACKERS] jacana hung after failing to acquire random number

2016-12-11 Thread Heikki Linnakangas
On 12/12/2016 05:58 AM, Michael Paquier wrote: On Sun, Dec 11, 2016 at 9:06 AM, Andrew Dunstan wrote: jascana (mingw, 64 bit compiler, no openssl) is currently hung on "make check". After starting the autovacuum launcher there are 120 messages on its log about "Could not

Re: [HACKERS] jacana hung after failing to acquire random number

2016-12-11 Thread Michael Paquier
On Sun, Dec 11, 2016 at 9:06 AM, Andrew Dunstan wrote: > > jascana (mingw, 64 bit compiler, no openssl) is currently hung on "make > check". After starting the autovacuum launcher there are 120 messages on its > log about "Could not acquire random number". Then nothing. > > >

[HACKERS] jacana hung after failing to acquire random number

2016-12-10 Thread Andrew Dunstan
jascana (mingw, 64 bit compiler, no openssl) is currently hung on "make check". After starting the autovacuum launcher there are 120 messages on its log about "Could not acquire random number". Then nothing. So I suspect the problem here is commit fe0a0b5993dfe24e4b3bcf52fa64ff41a444b8f1,