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 support for sys.sp_reset_connection stored procedure #2968

Conversation

sharathbp
Copy link
Contributor

@sharathbp sharathbp commented Sep 25, 2024

Support sys.sp_reset_connection store procedure to reset tds connection

  1. At the moment babelfish doesn't support sys.sp_reset_connection to reset the connection state. With this change it supports reset connection stored procedure.
  2. This change is required for supporting RDS Proxy for Babelfish. RDS Proxy calls sys.sp_reset_connection before connection is reused by other clients.

Tasks:
BABEL-429

Signed off by: Sharath BP [email protected]

(cherry picked from commit 3997e2e)

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

sharathbp and others added 3 commits September 25, 2024 08:05
…or-postgresql#2758)

Support sys.sp_reset_connection store procedure to reset tds connection

1. At the moment babelfish doesn't support sys.sp_reset_connection to reset the connection state. With this change it supports reset connection stored procedure.
2. This change is required for supporting RDS Proxy for Babelfish. RDS Proxy calls sys.sp_reset_connection before connection is reused by other clients.

Tasks:
BABEL-429

Signed off by: Sharath BP <[email protected]>

(cherry picked from commit 3997e2e)
@sharathbp sharathbp changed the title Add support for sys.sp_reset_connection stored procedure (#2758) Add support for sys.sp_reset_connection stored procedure Sep 26, 2024
@KushaalShroff KushaalShroff merged commit 800ea29 into babelfish-for-postgresql:BABEL_2_X_DEV Sep 26, 2024
30 checks passed
@KushaalShroff KushaalShroff deleted the babel-429-babel2x branch September 26, 2024 12:15
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.

2 participants