Skip to content
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

Expose ResultReader.Err() to allow row iteration to check for errors #870

Closed
wants to merge 1 commit into from
Closed

Expose ResultReader.Err() to allow row iteration to check for errors #870

wants to merge 1 commit into from

Conversation

eh-steve
Copy link

@eh-steve eh-steve commented Nov 12, 2020

This PR and the accompanying jackc/pgconn#58 address a problem where ResultReader errors due to statement cache errors would be swallowed during row iteration (since r.NextRow() would return false immediately, since its command is concluded), making a query apparently execute with no errors, but providing no rows.

This might be closed in favour of #865, which addresses the same problem differently

@ethanpailes
Copy link
Contributor

@eh-steve I think this isn't needed anymore.

@jackc
Copy link
Owner

jackc commented Nov 12, 2020

I think the underlying issues have been resolved. Feel free to reopen if that's not the case.

@jackc jackc closed this Nov 12, 2020
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.

3 participants