postgresql/src/bin/pgevent
Bruce Momjian 9af4159fce pgindent run for release 9.3
This is the first run of the Perl-based pgindent script.  Also update
pgindent instructions.
2013-05-29 16:58:43 -04:00
..
MSG00001.bin Revert binary change in copyright year adjustment. 2012-01-01 19:42:07 -05:00
Makefile Update copyrights for 2013 2013-01-01 17:15:01 -05:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pgevent.c pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
pgevent.def Support configurable eventlog application names on Windows 2011-10-25 20:02:55 +02:00
pgmsgevent.h Lots of doc corrections. 2012-04-23 22:43:09 -04:00
pgmsgevent.mc Remove bogus trailing dot from eventlog output, per Andreas. 2004-08-07 17:55:59 +00:00
pgmsgevent.rc Add Win32 version info to client binaries. 2004-10-05 19:30:25 +00:00

README

src/bin/pgevent/README

pgevent
=======

MSG000001.bin is a binary file, 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 an alternative way to compile MC file.

To summarize: the command "MC pgmsgevent.mc" 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
needing to change the definition of this string.

To finish, because DllUnregisterServer and DllRegisterServer are system
defined entry points, we need to export these two functions with their names
without "decoration", so we cannot use auto generated .def files without
handy modifications.

Laurent Ballester