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

babelfish-for-postgresql / babelfish_extensions / 12349586742

16 Dec 2024 09:23AM UTC coverage: 73.78% (-0.03%) from 73.811%
12349586742

push

github

web-flow
Allow string functions to be called with arguments of datatypes that were supported earlier (#3251)

* Allow string functions to be called with arguments of datatypes that were supported earlier (#3192)

While fixing issue in string functions for input containing multibyte characters, we blocked string functions called with some datatypes to be more compliance with TSQL, which were supported earlier by using underlying PostgreSQL string functions. This PR include changes to allow all string functions to be called on all the datatypes that were support earlier.

Following are the string functions which faced this issue and will be fixed with this PR:-

CONCAT, CONCAT_WS
STRING_AGG
TRIM, LTRIM, RTRIM, LEFT, RIGHT
REPLACE
REPLICATE
REVERSE
TRANSLATE
STUFF
SUBSTRING
LOWER and UPPER

Issues Resolved: BABEL-5337

Signed-off-by: Rohit Bhagat <rohitbgt@amazon.com>
Co-authored-by: Rohit Bhagat <rohitbgt@amazon.com>

79 of 79 new or added lines in 3 files covered. (100.0%)

13 existing lines in 2 files now uncovered.

43103 of 58421 relevant lines covered (73.78%)

147983.9 hits per line

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

93.75
/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

© 2026 Coveralls, Inc