mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 18:42:25 -05:00
[chore]: Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.3 (#2664)
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.2 to 5.5.3. - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.5.2...v5.5.3) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
af1a26a68f
commit
e2ebcbb516
16 changed files with 310 additions and 115 deletions
6
vendor/github.com/jackc/pgx/v5/values.go
generated
vendored
6
vendor/github.com/jackc/pgx/v5/values.go
generated
vendored
|
|
@ -55,7 +55,11 @@ func encodeCopyValue(m *pgtype.Map, buf []byte, oid uint32, arg any) ([]byte, er
|
|||
func tryScanStringCopyValueThenEncode(m *pgtype.Map, buf []byte, oid uint32, arg any) ([]byte, error) {
|
||||
s, ok := arg.(string)
|
||||
if !ok {
|
||||
return nil, errors.New("not a string")
|
||||
textBuf, err := m.Encode(oid, TextFormatCode, arg, nil)
|
||||
if err != nil {
|
||||
return nil, errors.New("not a string and cannot be encoded as text")
|
||||
}
|
||||
s = string(textBuf)
|
||||
}
|
||||
|
||||
var v any
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue