1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-16 17:07:43 +03:00
Files
postgres/src/bin/pgevent
Bruce Momjian 9d4649ca49 Update copyright for 2018
Backpatch-through: certain files through 9.3
2018-01-02 23:30:12 -05:00
..
2014-02-19 21:08:50 -05:00
2018-01-02 23:30:12 -05:00
2017-06-21 15:35:54 -04:00
2012-04-23 22:43:09 -04:00
2010-09-20 22:08:53 +02:00

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