Re: Perl 5.10 vs. PG 8.4 on Win32

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Perl 5.10 vs. PG 8.4 on Win32
Date: 2009-05-15 14:47:38
Message-ID: 3533.1242398858@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Dave Page <dpage(at)pgadmin(dot)org> writes:
> On Fri, May 15, 2009 at 3:23 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Simon Riggs 2009-05-15 14:59:20 Re: [HACKERS] Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file
Previous Message Dave Page 2009-05-15 14:44:32 Re: Perl 5.10 vs. PG 8.4 on Win32