File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ module Message_in = struct
69
69
| AuthenticationCryptPassword of string
70
70
| AuthenticationMD5Password of string
71
71
| AuthenticationSCMCredential
72
+ | AuthenticationSASLCredential
72
73
| BackendKeyData of int32 * int32
73
74
| BindComplete
74
75
| CloseComplete
@@ -155,6 +156,7 @@ module Message_in = struct
155
156
| 4l -> AuthenticationCryptPassword (get_n_bytes 2 )
156
157
| 5l -> AuthenticationMD5Password (get_n_bytes 4 )
157
158
| 6l -> AuthenticationSCMCredential
159
+ | 10l -> AuthenticationSASLCredential
158
160
| _ -> UnknownMessage (typ, msg))
159
161
| 'H' ->
160
162
let format_code_to_format = function
@@ -700,6 +702,8 @@ module Make (Thread : Io) = struct
700
702
loop (Some (Message_out. Password password))
701
703
| Message_in. AuthenticationSCMCredential ->
702
704
fail_msg " Pgx: SCM Credential authentication not supported"
705
+ | Message_in. AuthenticationSASLCredential ->
706
+ fail_msg " Pgx: SASL Credential authentication not supported"
703
707
| Message_in. ErrorResponse err ->
704
708
raise (PostgreSQL_Error (" Failed to authenticate with postgres server" , err))
705
709
| Message_in. NoticeResponse _ ->
You can’t perform that action at this time.
0 commit comments