-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to latest DBConnection #321
Conversation
lib/postgrex/protocol.ex
Outdated
@@ -1409,22 +1409,27 @@ defmodule Postgrex.Protocol do | |||
sync_recv(s, status, result, buffer) | |||
end | |||
|
|||
defp suspend(s, status, query, cursor, rows, buffer) do | |||
defp cont(s, status, query, cursor, rows, buffer) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function takes too many parameters (arity is 6, max is 5).
lib/postgrex/protocol.ex
Outdated
{:error, Postgrex.Error.t, state} | | ||
{:error | :disconnect, %RuntimeError{}, state} | | ||
{:disconnect, %DBConnection.ConnectionError{}, state} | ||
{DBConnecation.status, state} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks fixed.
The |
@fishcakez I believe I have addressed the two concerns you had left. :) |
@josevalim yes the changes are good 👍 |
WIP: awaiting DBConnection release