forked from babelfish-for-postgresql/babelfish_extensions
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MVU failure due to sys.format_datetime, sys.format_numeric and sy…
…s.format functions (babelfish-for-postgresql#2023) We are deprecating the older versions of sys.format_datetime, sys.format_numeric and sys.format functions in the version 2.7.0, Hence while doing major version upgrade, sys.format_datetime(anyelement, nvarchar, character varying, character varying) is not found. And similarly, sys.format_numeric(anyelement, NVARCHAR, VARCHAR, VARCHAR, int) and sys.format(anyelement, NVARCHAR, VARCHAR) are also deprecated in older version which may cause an error. This changes catches the above error and deprecates the format functions only when they exist. Task: BABEL-4394 Signed-off-by: Sai Rohan Basa <[email protected]>
- Loading branch information
1 parent
2d20e6c
commit bd1f578
Showing
1 changed file
with
100 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters