Re: Perl 5.10 vs. PG 8.4 on Win32 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Perl 5.10 vs. PG 8.4 on Win32
Date
Msg-id 3533.1242398858@sss.pgh.pa.us
Whole thread Raw
In response to Re: Perl 5.10 vs. PG 8.4 on Win32  (Dave Page <dpage@pgadmin.org>)
Responses Re: Perl 5.10 vs. PG 8.4 on Win32
List pgsql-bugs
Dave Page <dpage@pgadmin.org> writes:
> On Fri, May 15, 2009 at 3:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Ho, that's pretty curious.  The first two messages are the trace of the
>> atexit hook I recently installed, which means something called exit()
>> or the moral equivalent thereof.  I wouldn't really expect that to
>> happen in a crash situation ... is Windows dumb enough to try to run
>> the atexit hooks of a crashed process?

> Hmm, the MSDN docs don't say whether or not it will. A quick test,
> forcing a crash by writing beyond the end of a char array shows that
> it does follow spec and doesn't call the hooks.

Try setting a breakpoint at atexit_callback() and seeing how it got
there in the CREATE LANGUAGE test case.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [HACKERS] Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file
Next
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file