File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -351,6 +351,7 @@ defmodule Postgrex.Protocol do
351351 | { :error , % DBConnection.TransactionError { } , state }
352352 | { :disconnect , % RuntimeError { } , state }
353353 | { :disconnect , % DBConnection.ConnectionError { } , state }
354+ | { :disconnect_and_retry , % DBConnection.ConnectionError { } , state }
354355 def handle_prepare ( % Query { } = query , _ , % { postgres: { _ , _ } } = s ) do
355356 lock_error ( s , :prepare , query )
356357 end
@@ -595,6 +596,7 @@ defmodule Postgrex.Protocol do
595596 | { DBConnection . status ( ) , state }
596597 | { :disconnect , % RuntimeError { } , state }
597598 | { :disconnect , % DBConnection.ConnectionError { } | Postgrex.Error . t ( ) , state }
599+ | { :disconnect_and_retry , % DBConnection.ConnectionError { } , state }
598600 def handle_begin ( _ , % { postgres: { _ , _ } } = s ) do
599601 lock_error ( s , :begin )
600602 end
You can’t perform that action at this time.
0 commit comments