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

From Dave Page
Subject Re: Perl 5.10 vs. PG 8.4 on Win32
Date
Msg-id 937d27e10905161056q532c772m8c157a7d03c56643@mail.gmail.com
Whole thread Raw
In response to Re: Perl 5.10 vs. PG 8.4 on Win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Perl 5.10 vs. PG 8.4 on Win32
List pgsql-bugs
On Fri, May 15, 2009 at 10:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> This is a bit devious, but ... add an on_proc_exit call that's set up
> by plperl.c's init before it calls Perl, and put the infinite loop
> inside there. =A0Then you don't hit it in any of the other processes.

Ooh, sneaky. I like it. Not sure it helps much though:

>    postgres.exe!atexit_callback()  Line 228    C
     msvcr80.dll!doexit(int code=3D0, int quick=3D0, int retcaller=3D1)  Line =
553    C
     msvcr80.dll!_cexit()  Line 413 + 0xb bytes    C
     msvcr80.dll!__CRTDLL_INIT(void * hDllHandle=3D0x78130000, unsigned
long dwReason=3D0, void * lpreserved=3D0x00000001)  Line 389    C
     msvcr80.dll!_CRTDLL_INIT(void * hDllHandle=3D0x78130000, unsigned long
dwReason=3D0, void * lpreserved=3D0x00000001)  Line 214 + 0x11 bytes    C
     ntdll.dll!7c90118a()=20=09
     [Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
     ntdll.dll!7c923ada()=20=09
     ntdll.dll!7c910435()=20=09
     ntdll.dll!7c91043e()=20=09
     ntdll.dll!7c923c88()=20=09
     kernel32.dll!7c81caae()=20=09
     postgres.exe!main(int argc=3D3, char * * argv=3D0x00262fc0)  Line 165 +
0x7 bytes    C
     postgres.exe!__tmainCRTStartup()  Line 597 + 0x17 bytes    C


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

pgsql-bugs by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Re: BUG #4796: Recovery followed by backup creates unrecoverable WAL-file
Next
From: Tom Lane
Date:
Subject: Re: Perl 5.10 vs. PG 8.4 on Win32