Skip to content
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

Roll back to github.com/jackc/pgx/v4 #198

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions error_translator.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package postgres
import (
"encoding/json"

"github.com/jackc/pgconn"
"gorm.io/gorm"

"github.com/jackc/pgx/v5/pgconn"
)

var errCodes = map[string]error{
Expand Down
5 changes: 3 additions & 2 deletions error_translator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package postgres

import (
"errors"
"github.com/jackc/pgx/v5/pgconn"
"gorm.io/gorm"
"testing"

"github.com/jackc/pgconn"
"gorm.io/gorm"
)

func TestDialector_Translate(t *testing.T) {
Expand Down
7 changes: 6 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@ module gorm.io/driver/postgres
go 1.18

require (
github.com/jackc/pgx/v5 v5.3.1
github.com/jackc/pgconn v1.14.0
github.com/jackc/pgx/v4 v4.18.1
gorm.io/gorm v1.25.2-0.20230530020048-26663ab9bf55
)

require (
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.3.2 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgtype v1.14.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
golang.org/x/crypto v0.8.0 // indirect
Expand Down
Loading