Re: Perl 5.10 vs. PG 8.4 on Win32

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:44:32
Message-ID: 937d27e10905150744q56115c46ga97a6515339cfb2a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-05-15 14:47:38 Re: Perl 5.10 vs. PG 8.4 on Win32
Previous Message Heikki Linnakangas 2009-05-15 14:42:16 Re: [HACKERS] Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file