PostgreSQL Source Code  git master
pgmsgevent.h
Go to the documentation of this file.
1 /* src/bin/pgevent/pgmsgevent.h */
2 
3 /* */
4 /* Values are 32 bit values laid out as follows: */
5 /* */
6 /* 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 */
7 /* 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 */
8 /* +---+-+-+-----------------------+-------------------------------+ */
9 /* |Sev|C|R| Facility | Code | */
10 /* +---+-+-+-----------------------+-------------------------------+ */
11 /* */
12 /* where */
13 /* */
14 /* Sev - is the severity code */
15 /* */
16 /* 00 - Success */
17 /* 01 - Informational */
18 /* 10 - Warning */
19 /* 11 - Error */
20 /* */
21 /* C - is the Customer code flag */
22 /* */
23 /* R - is a reserved bit */
24 /* */
25 /* Facility - is the facility code */
26 /* */
27 /* Code - is the facility's status code */
28 /* */
29 /* */
30 /* Define the facility codes */
31 /* */
32 
33 
34 /* */
35 /* Define the severity codes */
36 /* */
37 
38 
39 /* */
40 /* MessageId: PGWIN32_EVENTLOG_MSG */
41 /* */
42 /* MessageText: */
43 /* */
44 /* %1 */
45 /* */
46 #define PGWIN32_EVENTLOG_MSG 0x00000000L