Re: eventlog fix

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Laurent Ballester" <postgresql(dot)ballester(at)wanadoo(dot)fr>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: eventlog fix
Date: 2004-06-19 15:42:32
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34BCE1@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

We require the MS "MC" compiler to build the BIN file (note - this is
not C - this is the "Message Compiler"). The Ccode should compile fine
in mingw.

Not requiring it is the reason we'd include the .BIN file in CVS. MC is
only needed to *rebuild* it.

//Magnus

>-----Original Message-----
>From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
>
>
>Woh, we aren't requring MS C to compile this feature. Can't it be
>created by mingw? If not, I don't see what value an MS C compile is
>going to do for us.
>
>---------------------------------------------------------------
>------------
>
>Laurent Ballester wrote:
>> Hello,
>>
>> I just looking under CVS web interface what is stored in
>pgevent directory
>> and what is missing.
>>
>> The files attached with this mail have to be stored in
>pgevent directory.
>> MSG000001.bin is a bin files, result of Microsoft MC
>compiler. MC compiler
>> can be downloaded for free with MS Core SDK but it is not
>included with MSYS
>> tools and I didn't find a alternative way to compile MC file.
>>
>> To summarize MC pgmsgevent.mc command generates pgmsgevent.h
>pgmsgevent.rc
>> and MSG00001.bin files.
>> In MC file, we declare a string with %s format, so we can
>write anything we
>> want in the future without need to change the definition of
>this string.
>>
>> To finish, because DllUnregisterServer and DllRegisterServer
>are system
>> defined entry point, we need to export these two functions
>with their names
>> without "decoration", so we cannot uses auto generated .def
>files without
>> handy modifications.
>>
>> regards
>> Laurent Ballester
>>
>> ----- Original Message -----
>> From: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
>> To: "Laurent Ballester" <postgresql(dot)ballester(at)wanadoo(dot)fr>
>> Cc: "Alvaro Herrera" <alvherre(at)dcc(dot)uchile(dot)cl>;
>> <pgsql-patches(at)postgresql(dot)org>
>> Sent: Saturday, June 19, 2004 7:13 AM
>> Subject: Re: [PATCHES] eventlog fix
>>
>>
>> >
>> > OK, I have created the following diff to document the pgevent
>> > installation instructions. However, you didn't send me a
>Makefile for
>> > creating the DLL, and I am not sure how to do that. Would
>you send me a
>> > `Makefile for src/bin/pgevent? Thanks.
>> >
>
>[ Attachment, skipping... ]
>
>[ Attachment, skipping... ]
>
>[ Attachment, skipping... ]
>
>[ Attachment, skipping... ]
>
>[ Attachment, skipping... ]
>
>[ Attachment, skipping... ]
>
>[ Attachment, skipping... ]
>
>--
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square,
>Pennsylvania 19073
>
>---------------------------(end of
>broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to
>majordomo(at)postgresql(dot)org
>

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-06-19 16:07:00 Re: eventlog fix
Previous Message Bruce Momjian 2004-06-19 15:21:30 Re: eventlog fix