Re: Perl 5.10 vs. PG 8.4 on Win32

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Perl 5.10 vs. PG 8.4 on Win32
Дата
Msg-id 3533.1242398858@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Perl 5.10 vs. PG 8.4 on Win32  (Dave Page <dpage@pgadmin.org>)
Ответы Re: Perl 5.10 vs. PG 8.4 on Win32
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [HACKERS] Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [HACKERS] Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file