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

babelfish-for-postgresql / babelfish_extensions / 10183417649

31 Jul 2024 03:45PM UTC coverage: 73.575% (+0.004%) from 73.571%
10183417649

push

github

web-flow
Added wrapper function for Substring to handle binary datatypes and multibyte character (#2815)

This commit aims to fix following issue --

1. SUBSTRING() function with last argument missing raises strange error message.
2. SUBSTRING() should work on [VAR]BINARY, Image argument.

In order to fix these issues,  added error message handling in ANTLR parser to throw appropriate error message for
different number of arguments. Also, added wrapper function handling for SUBSTRING() function to handle binary
datatypes and multibyte characters.

Engine PR: babelfish-for-postgresql/postgresql_modified_for_babelfish#415

Task: BABEL- 4118, BABEL- 3658
Signed-off-by: Anikait Agrawal <agraani@amazon.com>

55 of 59 new or added lines in 6 files covered. (93.22%)

43911 of 59682 relevant lines covered (73.57%)

119218.94 hits per line

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

96.43
/contrib/babelfishpg_common/src/typecode.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