summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgx/v4/messages.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-05-12 14:33:40 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-12 14:33:40 +0200
commitec325fee141c1e9757144a0a4094061b56839b78 (patch)
tree2948ab4ef5702cc8478ab2be841340b946bdb867 /vendor/github.com/jackc/pgx/v4/messages.go
parent[frogend/bugfix] fix dynamicSpoiler elements (#1771) (diff)
downloadgotosocial-ec325fee141c1e9757144a0a4094061b56839b78.tar.xz
[chore] Update a bunch of database dependencies (#1772)
* [chore] Update a bunch of database dependencies * fix lil thing
Diffstat (limited to 'vendor/github.com/jackc/pgx/v4/messages.go')
-rw-r--r--vendor/github.com/jackc/pgx/v4/messages.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/github.com/jackc/pgx/v4/messages.go b/vendor/github.com/jackc/pgx/v4/messages.go
deleted file mode 100644
index 5324cbb5c..000000000
--- a/vendor/github.com/jackc/pgx/v4/messages.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package pgx
-
-import (
- "database/sql/driver"
-
- "github.com/jackc/pgtype"
-)
-
-func convertDriverValuers(args []interface{}) ([]interface{}, error) {
- for i, arg := range args {
- switch arg := arg.(type) {
- case pgtype.BinaryEncoder:
- case pgtype.TextEncoder:
- case driver.Valuer:
- v, err := callValuerValue(arg)
- if err != nil {
- return nil, err
- }
- args[i] = v
- }
- }
- return args, nil
-}