aboutsummaryrefslogtreecommitdiff
path: root/internal/database
diff options
context:
space:
mode:
Diffstat (limited to 'internal/database')
-rw-r--r--internal/database/benchmark_test.go4
-rw-r--r--internal/database/copy.go4
-rw-r--r--internal/database/copy_test.go4
-rw-r--r--internal/database/database.go2
-rw-r--r--internal/database/database_test.go6
5 files changed, 10 insertions, 10 deletions
diff --git a/internal/database/benchmark_test.go b/internal/database/benchmark_test.go
index a0c5d17d..2d789949 100644
--- a/internal/database/benchmark_test.go
+++ b/internal/database/benchmark_test.go
@@ -9,8 +9,8 @@ import (
"database/sql"
"testing"
- "github.com/jackc/pgx/v4"
- "github.com/jackc/pgx/v4/stdlib"
+ "github.com/jackc/pgx/v5"
+ "github.com/jackc/pgx/v5/stdlib"
"golang.org/x/pkgsite/internal/log"
)
diff --git a/internal/database/copy.go b/internal/database/copy.go
index 86244eae..dbcdb67d 100644
--- a/internal/database/copy.go
+++ b/internal/database/copy.go
@@ -11,8 +11,8 @@ import (
"strings"
"time"
- "github.com/jackc/pgx/v4"
- "github.com/jackc/pgx/v4/stdlib"
+ "github.com/jackc/pgx/v5"
+ "github.com/jackc/pgx/v5/stdlib"
"golang.org/x/pkgsite/internal/derrors"
"golang.org/x/pkgsite/internal/log"
)
diff --git a/internal/database/copy_test.go b/internal/database/copy_test.go
index a878985e..79b45ff1 100644
--- a/internal/database/copy_test.go
+++ b/internal/database/copy_test.go
@@ -11,8 +11,8 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
- "github.com/jackc/pgx/v4"
- "github.com/jackc/pgx/v4/stdlib"
+ "github.com/jackc/pgx/v5"
+ "github.com/jackc/pgx/v5/stdlib"
)
type copyRow struct {
diff --git a/internal/database/database.go b/internal/database/database.go
index 917b6094..f5b646a0 100644
--- a/internal/database/database.go
+++ b/internal/database/database.go
@@ -18,7 +18,7 @@ import (
"sync"
"time"
- "github.com/jackc/pgconn"
+ "github.com/jackc/pgx/v5/pgconn"
"github.com/lib/pq"
"golang.org/x/pkgsite/internal/derrors"
"golang.org/x/pkgsite/internal/log"
diff --git a/internal/database/database_test.go b/internal/database/database_test.go
index 600ecc4f..bd7e3c1e 100644
--- a/internal/database/database_test.go
+++ b/internal/database/database_test.go
@@ -18,9 +18,9 @@ import (
"time"
"github.com/google/go-cmp/cmp"
- "github.com/jackc/pgconn"
- "github.com/jackc/pgx/v4"
- "github.com/jackc/pgx/v4/stdlib"
+ "github.com/jackc/pgx/v5"
+ "github.com/jackc/pgx/v5/pgconn"
+ "github.com/jackc/pgx/v5/stdlib"
"golang.org/x/pkgsite/internal/derrors"
)