summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgx/v4
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-12-12 15:47:51 +0100
committerLibravatar GitHub <noreply@github.com>2021-12-12 15:47:51 +0100
commit67ac8db190eb82a7758746fb021fa3014f4241b7 (patch)
tree4a4124ad8f0ee9ec8858b109dd0bcc2e567fc144 /vendor/github.com/jackc/pgx/v4
parentupstep dependencies (#339) (diff)
downloadgotosocial-67ac8db190eb82a7758746fb021fa3014f4241b7.tar.xz
Upstep Go dependencies (#340)
* Upstep Go dependencies * tiny linter fix * Tidy
Diffstat (limited to 'vendor/github.com/jackc/pgx/v4')
-rw-r--r--vendor/github.com/jackc/pgx/v4/CHANGELOG.md5
-rw-r--r--vendor/github.com/jackc/pgx/v4/tx.go16
2 files changed, 13 insertions, 8 deletions
diff --git a/vendor/github.com/jackc/pgx/v4/CHANGELOG.md b/vendor/github.com/jackc/pgx/v4/CHANGELOG.md
index f74d2afb6..198a6ea43 100644
--- a/vendor/github.com/jackc/pgx/v4/CHANGELOG.md
+++ b/vendor/github.com/jackc/pgx/v4/CHANGELOG.md
@@ -1,3 +1,8 @@
+# 4.14.1 (November 28, 2021)
+
+* Upgrade pgtype to v1.9.1 (fixes unintentional change to timestamp binary decoding)
+* Start pgxpool background health check after initial connections
+
# 4.14.0 (November 20, 2021)
* Upgrade pgconn to v1.10.1
diff --git a/vendor/github.com/jackc/pgx/v4/tx.go b/vendor/github.com/jackc/pgx/v4/tx.go
index ad399679b..1971ed673 100644
--- a/vendor/github.com/jackc/pgx/v4/tx.go
+++ b/vendor/github.com/jackc/pgx/v4/tx.go
@@ -15,10 +15,10 @@ type TxIsoLevel string
// Transaction isolation levels
const (
- Serializable = TxIsoLevel("serializable")
- RepeatableRead = TxIsoLevel("repeatable read")
- ReadCommitted = TxIsoLevel("read committed")
- ReadUncommitted = TxIsoLevel("read uncommitted")
+ Serializable TxIsoLevel = "serializable"
+ RepeatableRead TxIsoLevel = "repeatable read"
+ ReadCommitted TxIsoLevel = "read committed"
+ ReadUncommitted TxIsoLevel = "read uncommitted"
)
// TxAccessMode is the transaction access mode (read write or read only)
@@ -26,8 +26,8 @@ type TxAccessMode string
// Transaction access modes
const (
- ReadWrite = TxAccessMode("read write")
- ReadOnly = TxAccessMode("read only")
+ ReadWrite TxAccessMode = "read write"
+ ReadOnly TxAccessMode = "read only"
)
// TxDeferrableMode is the transaction deferrable mode (deferrable or not deferrable)
@@ -35,8 +35,8 @@ type TxDeferrableMode string
// Transaction deferrable modes
const (
- Deferrable = TxDeferrableMode("deferrable")
- NotDeferrable = TxDeferrableMode("not deferrable")
+ Deferrable TxDeferrableMode = "deferrable"
+ NotDeferrable TxDeferrableMode = "not deferrable"
)
// TxOptions are transaction modes within a transaction block