Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group