forked from babelfish-for-postgresql/babelfish_extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for sp_addrole, sp_droprole, sp_addrolemember, sp_dropro…
…lemember Previously the sp_addrole, sp_droprole, sp_addrolemember, sp_droprolemember doesn't consider case insensitivity and removes trailing/leading whitespaces when rolname is passed as an argument, throws error if the rolname contains between spaces. Now the procedures follow case insensitivity by converting rolname to lower case and storing them in DB, not removing trailing/leading whitespaces for argument. Followed SQL server for behaviour of procedures and implemented the same. Add tests related to empty argument, invalid rolname for procedures. TASK: BABEL-3660 Signed-off-by: vasavi suthapalli <svasusri@amazon.com>
- Loading branch information
1 parent
598d7aa
commit c8892af
Showing
17 changed files
with
570 additions
and
223 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
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
Oops, something went wrong.