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

babelfish-for-postgresql / babelfish_extensions / 13960538732

20 Mar 2025 02:15AM UTC coverage: 75.044% (+0.02%) from 75.021%
13960538732

push

github

web-flow
Improve round() function return type handling based on input arguments data types (#3592)

Make the round() function clearer on return types based on argument types and number of arguments (#3592)

This is a cherry-pick commit from BABEL_4_X_DEV (#3567).

Changes:

    Add lookup functions for data types that are represented differently
    Introduce PLpgSQL functions for each return type to reuse the existing underlying C functions
    Implement logic to determine return types based on argument types and number of arguments
    Add tests to ensure comprehensive coverage

Task: BABEL-2057

Signed-off-by: RUI LUO <rluo@amazon.com>
Co-authored-by: RUI LUO <rluo@amazon.com>

47550 of 63363 relevant lines covered (75.04%)

192306.93 hits per line

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

94.44
/contrib/babelfishpg_common/src/typecode.c


Source Not Available

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

© 2026 Coveralls, Inc