diff options
| author | 2025-04-14 09:44:11 +0200 | |
|---|---|---|
| committer | 2025-04-14 09:44:11 +0200 | |
| commit | 94963b0f240ee9a7a0a3e6898d3f9633de13948c (patch) | |
| tree | 11d3dadb8615967cc63eae3c4d268eeeb31fff62 /vendor/github.com | |
| parent | [chore]: Bump github.com/gin-contrib/gzip from 1.2.2 to 1.2.3 (#4000) (diff) | |
| download | gotosocial-94963b0f240ee9a7a0a3e6898d3f9633de13948c.tar.xz | |
[chore]: Bump github.com/jackc/pgx/v5 from 5.7.3 to 5.7.4 (#4002)
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.7.3 to 5.7.4.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.7.3...v5.7.4)
---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
dependency-version: 5.7.4
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>
Diffstat (limited to 'vendor/github.com')
| -rw-r--r-- | vendor/github.com/jackc/pgx/v5/CHANGELOG.md | 4 | ||||
| -rw-r--r-- | vendor/github.com/jackc/pgx/v5/pgtype/json.go | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/vendor/github.com/jackc/pgx/v5/CHANGELOG.md b/vendor/github.com/jackc/pgx/v5/CHANGELOG.md index 75578db0a..e18b0db8c 100644 --- a/vendor/github.com/jackc/pgx/v5/CHANGELOG.md +++ b/vendor/github.com/jackc/pgx/v5/CHANGELOG.md @@ -1,3 +1,7 @@ +# 5.7.4 (March 24, 2025) + +* Fix / revert change to scanning JSON `null` (Felix Röhrich) + # 5.7.3 (March 21, 2025) * Expose EmptyAcquireWaitTime in pgxpool.Stat (vamshiaruru32) diff --git a/vendor/github.com/jackc/pgx/v5/pgtype/json.go b/vendor/github.com/jackc/pgx/v5/pgtype/json.go index 6f7ebb51f..60aa2b71d 100644 --- a/vendor/github.com/jackc/pgx/v5/pgtype/json.go +++ b/vendor/github.com/jackc/pgx/v5/pgtype/json.go @@ -197,7 +197,7 @@ type scanPlanJSONToJSONUnmarshal struct { } func (s *scanPlanJSONToJSONUnmarshal) Scan(src []byte, dst any) error { - if src == nil || string(src) == "null" { + if src == nil { dstValue := reflect.ValueOf(dst) if dstValue.Kind() == reflect.Ptr { el := dstValue.Elem() |
