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

babelfish-for-postgresql / babelfish_extensions / 12353582929

16 Dec 2024 01:23PM UTC coverage: 74.833% (-0.02%) from 74.855%
12353582929

push

github

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

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>

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

9 existing lines in 2 files now uncovered.

46604 of 62277 relevant lines covered (74.83%)

163687.16 hits per line

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

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