postgresql/src/bin/pgevent
Peter Eisentraut 16a4a3d59c Remove libpq.rc, use win32ver.rc for libpq
For historical reasons, libpq used a separate libpq.rc file for the
Windows builds while all other components use a common file
win32ver.rc.  With a bit of tweaking, the libpq build can also use the
win32ver.rc file.  This removes a bit of duplicative code.

Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/ad505e61-a923-e114-9f38-9867d161073f@2ndquadrant.com
2020-01-15 15:06:12 +01:00
..
MSG00001.bin Revert binary change in copyright year adjustment. 2012-01-01 19:42:07 -05:00
Makefile Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
README Fix inconsistencies and typos in the tree 2019-07-29 12:28:30 +09:00
exports.txt Remove inappropriate EXPORTS line. 2014-02-19 21:08:50 -05:00
pgevent.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -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
=======

MSG00001.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