babelfish-for-postgresql / babelfish_extensions

Babelfish for PostgreSQL provides the capability for PostgreSQL to work with applications written for Microsoft SQL Server. Babelfish understands the SQL Server wire-protocol and T-SQL, the Microsoft SQL Server query and procedural language, so you don’t have to switch database drivers or rewrite all of your application queries.
https://babelfishpg.org/
Apache License 2.0
265 stars 88 forks source link

Update the column datatype of views where nvarchar(max) is required #2624

Closed shalinilohia50 closed 1 month ago

shalinilohia50 commented 1 month ago

Description

Update the column datatype of views where nvarchar(max) is required

Following views are fixed with this commit: sys.computed_columns sys.xml_indexes sys.stats sys.plan_guides sys.numbered_procedures sys.default_constraints sys.check_constraints

Issues Resolved

Task: BABEL-3401

Signed-off-by: Shalini Lohia lshalini@amazon.com

Test Scenarios Covered

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 9270322938

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Files with Coverage Reduction New Missed Lines %
contrib/babelfishpg_tds/src/backend/tds/tdsutils.c 1 70.48%
contrib/babelfishpg_tsql/src/pl_explain.c 10 86.17%
contrib/babelfishpg_tsql/src/tsqlIface.cpp 331 89.1%
<!-- Total: 342 -->
Totals Coverage Status
Change from base Build 9263552896: -0.002%
Covered Lines: 41717
Relevant Lines: 56995

💛 - Coveralls