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

Add SESSION TIMEOUT support and missing defer rows.Close() #101

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

robertomczak
Copy link
Contributor

@robertomczak robertomczak commented Dec 23, 2022

This PR

  • adds support of SESSION TIMEOUT user settinghttps://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_USER.html

  • adds missing rows.Close() in order to avoid condition where connection is kept open and idle due to not closed result set.
    With larger set of in this case grants it could result with threads waiting for result set cleanup that never occurred.

@robertomczak robertomczak marked this pull request as draft December 23, 2022 15:40
@robertomczak robertomczak changed the title Add missing defer rows.Close() Add SESSION TIMEOUT support and missing defer rows.Close() Dec 27, 2022
@robertomczak robertomczak marked this pull request as ready for review December 27, 2022 13:21
@robertomczak robertomczak merged commit 16afef4 into master Dec 27, 2022
@robertomczak robertomczak deleted the AI-1698 branch December 27, 2022 13:50
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