diff --git a/lib/postgrex/extensions/box.ex b/lib/postgrex/extensions/box.ex index f49ff42c..22760cf8 100644 --- a/lib/postgrex/extensions/box.ex +++ b/lib/postgrex/extensions/box.ex @@ -13,7 +13,7 @@ defmodule Postgrex.Extensions.Box do [<<32::int32()>>, encoded_p1 | encoded_p2] other -> - raise DBConnection.EncodeError, Postgrex.Utils.encode_msg(other, Postgrex.Line) + raise DBConnection.EncodeError, Postgrex.Utils.encode_msg(other, Postgrex.Box) end end diff --git a/lib/postgrex/extensions/circle.ex b/lib/postgrex/extensions/circle.ex index ec2ce087..0b395b0a 100644 --- a/lib/postgrex/extensions/circle.ex +++ b/lib/postgrex/extensions/circle.ex @@ -10,7 +10,7 @@ defmodule Postgrex.Extensions.Circle do <<24::int32(), x::float64(), y::float64(), r::float64()>> other -> - raise DBConnection.EncodeError, Postgrex.Utils.encode_msg(other, Postgrex.Path) + raise DBConnection.EncodeError, Postgrex.Utils.encode_msg(other, Postgrex.Circle) end end diff --git a/lib/postgrex/extensions/line_segment.ex b/lib/postgrex/extensions/line_segment.ex index f3dea2fb..f711ffe7 100644 --- a/lib/postgrex/extensions/line_segment.ex +++ b/lib/postgrex/extensions/line_segment.ex @@ -13,7 +13,7 @@ defmodule Postgrex.Extensions.LineSegment do [<<32::int32()>>, encoded_p1 | encoded_p2] other -> - raise DBConnection.EncodeError, Postgrex.Utils.encode_msg(other, Postgrex.Line) + raise DBConnection.EncodeError, Postgrex.Utils.encode_msg(other, Postgrex.LineSegment) end end diff --git a/lib/postgrex/result.ex b/lib/postgrex/result.ex index a9fb0df5..1e39ca39 100644 --- a/lib/postgrex/result.ex +++ b/lib/postgrex/result.ex @@ -10,7 +10,7 @@ defmodule Postgrex.Result do * `num_rows` - The number of fetched or affected rows; * `connection_id` - The OS pid of the PostgreSQL backend that executed the query; * `messages` - A list of maps of messages, such as hints and notices, sent by the - the driver during the execution of the query + driver during the execution of the query. """ @type t :: %__MODULE__{