postgresql/src/bin/pgevent/pgmsgevent.h

47 lines
987 B
C

/* src/bin/pgevent/pgmsgevent.h */
/* */
/* Values are 32 bit values laid out as follows: */
/* */
/* 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 */
/* 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 */
/* +---+-+-+-----------------------+-------------------------------+ */
/* |Sev|C|R| Facility | Code | */
/* +---+-+-+-----------------------+-------------------------------+ */
/* */
/* where */
/* */
/* Sev - is the severity code */
/* */
/* 00 - Success */
/* 01 - Informational */
/* 10 - Warning */
/* 11 - Error */
/* */
/* C - is the Customer code flag */
/* */
/* R - is a reserved bit */
/* */
/* Facility - is the facility code */
/* */
/* Code - is the facility's status code */
/* */
/* */
/* Define the facility codes */
/* */
/* */
/* Define the severity codes */
/* */
/* */
/* MessageId: PGWIN32_EVENTLOG_MSG */
/* */
/* MessageText: */
/* */
/* %1 */
/* */
#define PGWIN32_EVENTLOG_MSG 0x00000000L