Re: eventlog fix - Mailing list pgsql-patches
From | Magnus Hagander |
---|---|
Subject | Re: eventlog fix |
Date | |
Msg-id | 6BCB9D8A16AC4241919521715F4D8BCE34BCE1@algol.sollentuna.se Whole thread Raw |
In response to | eventlog fix ("Laurent Ballester" <postgresql.ballester@wanadoo.fr>) |
Responses |
Re: eventlog fix
Re: eventlog fix |
List | 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@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 >
pgsql-patches by date: