Re: eventlog fix

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: eventlog fix
Date: 2004-06-19 16:07:00
Message-ID: 40D464A4.6000503@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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
>>
>>
>>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
>
>

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2004-06-19 17:40:55 Re: Tablespace patch review
Previous Message Magnus Hagander 2004-06-19 15:42:32 Re: eventlog fix