Skip to content

Always read the whole result set for ExecuteScalar - #4379

Merged
vonzshik merged 1 commit into
mainfrom
4378-execute-scalar-throws-on-error
Apr 3, 2022
Merged

vonzshik merged 1 commit into
mainfrom
4378-execute-scalar-throws-on-error

Conversation

@vonzshik

Copy link
Copy Markdown
Contributor

Fixes #4378

@vonzshik
vonzshik requested a review from roji as a code owner March 11, 2022 20:26
@vonzshik
vonzshik merged commit 47d9eed into main Apr 3, 2022
@vonzshik
vonzshik deleted the 4378-execute-scalar-throws-on-error branch April 3, 2022 20:46
vonzshik added a commit that referenced this pull request Apr 3, 2022
vonzshik added a commit that referenced this pull request Apr 3, 2022
@vonzshik

vonzshik commented Apr 3, 2022

Copy link
Copy Markdown
Contributor Author

Backported to 6.0.4 via 5cbad44, 5.0.13 via 62cdce7.

kirkbrauer pushed a commit to kirkbrauer/npgsql that referenced this pull request Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NpgsqlDataReader.ExecuteScalar doesn't always throw PostgresException

2 participants