Skip to content

Commit

Permalink
Update upgrade path sql to incorporate sys.sp_reset_connection stored…
Browse files Browse the repository at this point in the history
… procedure
  • Loading branch information
Sharath BP committed Aug 20, 2024
1 parent dbb9c97 commit 344acb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ SELECT set_config('search_path', 'sys, '||current_setting('search_path'), false)
*/


CREATE OR REPLACE PROCEDURE sys.sp_reset_connection()
AS 'babelfishpg_tsql', 'sp_reset_connection_internal' LANGUAGE C;
GRANT EXECUTE ON PROCEDURE sys.sp_reset_connection() TO PUBLIC;

-- After upgrade, always run analyze for all babelfish catalogs.
CALL sys.analyze_babelfish_catalogs();

Expand Down
1 change: 1 addition & 0 deletions test/JDBC/upgrade/15_9/schedule
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ Test-sp_helpsrvrolemember
Test-sp_helpuser
Test-sp_rename
Test-sp_rename-dep
Test-sp_reset_connection
Test-sp_set_session_context
Test-sp_set_session_context-dep
TestSQLVariant
Expand Down

0 comments on commit 344acb5

Please sign in to comment.