-
Notifications
You must be signed in to change notification settings - Fork 853
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
5.5.3 changed the behavior of CollectRows
on an empty result
#1924
Labels
Comments
its-felix
added a commit
to gw2auth/gw2auth.com-api
that referenced
this issue
Mar 3, 2024
its-felix
added a commit
to its-felix/pgx
that referenced
this issue
Mar 3, 2024
jackc
pushed a commit
that referenced
this issue
Mar 3, 2024
its-felix
added a commit
to its-felix/pgx
that referenced
this issue
Mar 5, 2024
its-felix
added a commit
to its-felix/pgx
that referenced
this issue
Mar 5, 2024
jackc
pushed a commit
that referenced
this issue
Mar 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Since version 5.5.3 with the introduction of a57bb8c , the behavior of
CollectRows
changed. It now returns anil
slice if the passedRows
contains no rows.To Reproduce
pgx.CollectRows
nil
slice is returnedExpected behavior
An empty slice should be returned
Actual behavior
A
nil
slice is returnedVersion
Additional context
N/A
The text was updated successfully, but these errors were encountered: