Skip to content

Commit

Permalink
Fix the update script sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharath BP committed Oct 3, 2024
1 parent 58dd341 commit 0ae38c0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ SELECT set_config('search_path', 'sys, '||current_setting('search_path'), false)
* So make sure that any SQL statement (DDL/DML) being added here can be executed multiple times without affecting
* final behaviour.
*/

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 0ae38c0

Please sign in to comment.