Re: [GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-16 Thread Tom Lane
Martijn van Oosterhout writes: > That said, do you have to specify the library kernel32? If you use > language "internal", doesn't that find it since it's already loaded? This has come up before: http://archives.postgresql.org/pgsql-hackers/2006-06/msg00721.php That particular thread died off wh

Re: [GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-15 Thread Shelby Cain
I hadn't considered that. Thanks. Regards, Shelby Cain - Original Message From: Martijn van Oosterhout To: Shelby Cain <[EMAIL PROTECTED]> Cc: pgsql-general Sent: Wednesday, November 15, 2006 1:15:02 AM Subject: Re: [GENERAL] PG_MODULE_MAGIC check in 8.2 That said, do

Re: [GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-14 Thread Martijn van Oosterhout
On Tue, Nov 14, 2006 at 04:29:05PM -0800, Shelby Cain wrote: > You are assuming I have the source for the library and although I've > asked nicely via email Microsoft hasn't responded to my requests for > the source code to kernel32.dll. ;) I see, you're doing something rather unsupported... > R

Re: [GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-14 Thread Teodor Sigaev
#ifdef PG_MODULE_MAGIC PG_MODULE_MAGIC; #endif solves your problem -- Teodor Sigaev E-mail: [EMAIL PROTECTED] WWW: http://www.sigaev.ru/ ---(end of broadcast)--- T

Re: [GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-14 Thread Shelby Cain
<[EMAIL PROTECTED]> Cc: pgsql-general Sent: Tuesday, November 14, 2006 5:23:58 PM Subject: Re: [GENERAL] PG_MODULE_MAGIC check in 8.2 On Tue, Nov 14, 2006 at 02:46:41PM -0800, Shelby Cain wrote: > Could someone give me some general hints as to what modifications I'd > need to mak

Re: [GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-14 Thread Martijn van Oosterhout
On Tue, Nov 14, 2006 at 02:46:41PM -0800, Shelby Cain wrote: > Could someone give me some general hints as to what modifications I'd > need to make in the 8.2 source tree in order to remove the > PG_MODULE_MAGIC requirement for loading shared libraries into the > backend? Is there any chance this

[GENERAL] PG_MODULE_MAGIC check in 8.2

2006-11-14 Thread Shelby Cain
Could someone give me some general hints as to what modifications I'd need to make in the 8.2 source tree in order to remove the PG_MODULE_MAGIC requirement for loading shared libraries into the backend? Is there any chance this could be made into a configurable option so the user can choose th