Re: eventlog fix - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: eventlog fix
Date
Msg-id 40D464A4.6000503@dunslane.net
Whole thread Raw
In response to Re: eventlog fix  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
There is also this message compiler - I have no idea of the quality:

http://www.volny.cz/xnavara/SimpleMC.zip

I believe the WINE project also has one.

Putting the .bin file in CVS doesn't seem too horrible to me.

cheers

andrew


Magnus Hagander wrote:

>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@candle.pha.pa.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@candle.pha.pa.us>
>>>To: "Laurent Ballester" <postgresql.ballester@wanadoo.fr>
>>>Cc: "Alvaro Herrera" <alvherre@dcc.uchile.cl>;
>>><pgsql-patches@postgresql.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@candle.pha.pa.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@postgresql.org
>>
>>
>>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
>
>

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: eventlog fix
Next
From: Andreas Pflug
Date:
Subject: Re: Tablespace patch review