Re: [HACKERS] Archive recovery crashes on win32 in HEAD - hot standby related?

2010-01-17 Thread Magnus Hagander
2010/1/16 Tom Lane t...@sss.pgh.pa.us: Magnus Hagander mag...@hagander.net writes: I was going to test the walreceiver stuff, but it turns out that basic archive recovery appears to be broken in HEAD. From what I can tell, it's related to Hot Standby code. I've committed a fix that makes it

[HACKERS] Archive recovery crashes on win32 in HEAD - hot standby related?

2010-01-16 Thread Magnus Hagander
I was going to test the walreceiver stuff, but it turns out that basic archive recovery appears to be broken in HEAD. From what I can tell, it's related to Hot Standby code. I get this (this is all on win32 - I got the same on win64, but moved back to win32 to make sure it's not an issue with the

Re: [HACKERS] Archive recovery crashes on win32 in HEAD - hot standby related?

2010-01-16 Thread Robert Haas
On Sat, Jan 16, 2010 at 8:19 AM, Magnus Hagander mag...@hagander.net wrote: Not knowing that code very well at this time, but is this perhaps a structure not being properly initialized in EXEC_BACKEND case? It looks like KnownAssignedXidsHash is not initialized. That's supposed to happen when

Re: [HACKERS] Archive recovery crashes on win32 in HEAD - hot standby related?

2010-01-16 Thread Tom Lane
Robert Haas robertmh...@gmail.com writes: On Sat, Jan 16, 2010 at 8:19 AM, Magnus Hagander mag...@hagander.net wrote: Not knowing that code very well at this time, but is this perhaps a structure not being properly initialized in EXEC_BACKEND case? It looks like KnownAssignedXidsHash is not

Re: [HACKERS] Archive recovery crashes on win32 in HEAD - hot standby related?

2010-01-16 Thread Tom Lane
Magnus Hagander mag...@hagander.net writes: I was going to test the walreceiver stuff, but it turns out that basic archive recovery appears to be broken in HEAD. From what I can tell, it's related to Hot Standby code. I've committed a fix that makes it work in EXEC_BACKEND case on Unix. Can't