• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

babelfish-for-postgresql / babelfish_extensions / 9236837298

25 May 2024 04:37PM UTC coverage: 35.897% (-37.0%) from 72.891%
9236837298

push

github

web-flow
Wrong column type in sys.sql_modules (#2617)

Currently, definition column in the view sys.sql_modules stores upto 4000 characters. SSMS scripting uses sys.sql_modules view to show the definition of the procedure, and the procedure definition is truncated to 4000 characters if the actual procedure definition is more than 4K.

To avoid this incorrect definition, We can directly use sys.nvarchar and there is no need to specify the tymod of 4000 in case of sys.nvarchar for the definition column i.e., sys.nvarchar(4000).

Fixed the definition column for the views which should use nvarchar(max): sql_modules, system_sql_modules, all_sql_modules.

Task: BABEL-4870

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

20637 of 57490 relevant lines covered (35.9%)

14230.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.19
/contrib/babelfishpg_common/src/encoding/encoding_utils.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc