-
Notifications
You must be signed in to change notification settings - Fork 2
/
protocol-cheatsheet.js
60 lines (56 loc) · 1.58 KB
/
protocol-cheatsheet.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
const protocol = {
"frontend": {
"Bind": 66,
"Close": 67,
"CopyData": 100,
"CopyDone": 99,
"CopyFail": 102,
"Describe": 68,
"Execute": 69,
"Flush": 72,
"FunctionCall": 70,
"Parse": 80,
"Query": 81,
"SSLRequest": 83,
"GSSResponse": 112,
"PasswordMessage": 112,
"SASLInitialResponse": 112,
"SASLResponse": 112
},
"backend": {
"AuthenticationOk": 82,
"AuthenticationKerberosV5": 82,
"AuthenticationCleartextPassword": 82,
"AuthenticationMD5Password": 82,
"AuthenticationSCMCredential": 82,
"AuthenticationGSS": 82,
"AuthenticationSSPI": 82,
"AuthenticationGSSContinue": 82,
"AuthenticationSASL": 82,
"AuthenticationSASLContinue": 82,
"AuthenticationSASLFinal": 82,
"BackendKeyData": 75,
"ParseComplete": 49,
"BindComplete": 50,
"CloseComplete": 51,
"CommandComplete": 67,
"RowDescription": 84,
"DataRow": 68,
"ErrorResponse": 69,
"ParameterStatus": 83,
"ReadyForQuery": 90,
"PortalSuspended": 115,
"CopyInResponse": 71,
"CopyOutResponse": 72,
"CopyBothResponse": 87,
"CopyData": 100,
"CopyDone": 99,
"EmptyQueryResponse": 73,
"FunctionCallResponse": 86,
"NegotiateProtocolVersion": 118,
"NoData": 110,
"NoticeResponse": 78,
"NotificationResponse": 65,
"ParameterDescription": 116,
}
}