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 93862c4 commit ec430c1
Showing 1 changed file with 4 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

0 comments on commit ec430c1

Please sign in to comment.