Skip to content

Commit 07fb64d

Browse files
authored
Merge pull request #232 from invenia/sm/idle
Add IdleSessionTimeout error code
2 parents 3120080 + b8375e1 commit 07fb64d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LibPQ"
22
uuid = "194296ae-ab2e-5f79-8cd4-7183a0a5a0d1"
33
license = "MIT"
4-
version = "1.8.0"
4+
version = "1.8.1"
55

66
[deps]
77
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"

src/error_codes.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@
264264
E57P02,
265265
E57P03,
266266
E57P04,
267+
E57P05,
267268
E58000,
268269
E58030,
269270
E58P01,
@@ -672,6 +673,7 @@ const AdminShutdown = PQResultError{C57, E57P01}
672673
const CrashShutdown = PQResultError{C57, E57P02}
673674
const CannotConnectNow = PQResultError{C57, E57P03}
674675
const DatabaseDropped = PQResultError{C57, E57P04}
676+
const IdleSessionTimeout = PQResultError{C57, E57P05}
675677

676678

677679
const SystemErrorErrorClass = PQResultError{C58}
@@ -961,6 +963,7 @@ const ERROR_NAMES = Dict(
961963
CrashShutdown => "CrashShutdown",
962964
CannotConnectNow => "CannotConnectNow",
963965
DatabaseDropped => "DatabaseDropped",
966+
IdleSessionTimeout => "IdleSessionTimeout",
964967
SystemError => "SystemError",
965968
IoError => "IoError",
966969
UndefinedFile => "UndefinedFile",

0 commit comments

Comments
 (0)