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

babelfish-for-postgresql / babelfish_extensions / 12763991277
74%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: fix_script_injection
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 14 Jan 2025 09:11AM UTC
Jobs 1
Files 114
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jan 2025 08:41AM UTC coverage: 73.83% (+0.01%) from 73.818%
12763991277

push

github

web-flow
Fix formatting issue in CAST MONEY to CHAR/VARCHAR (#3367) (#3393)

While CASTing money/smallmoney to (N)VARCHAR/(N)CHAR, the value get rounded
to 4 decimal places instead of 2. Fixed this by implementing CASTs from money to
CHAR/VARCHAR datatype which rounds off input money value to 2 decimal places and
converts it to string.

Additionally, while CASTing money values to (N)CHAR, the resultant string gets left padded
instead of usual right padding. This commit also fixes this issue.

Task: BABEL-5478
Signed-off-by: Rishabh Tanwar <ritanwar@amazon.com>

43 of 48 new or added lines in 2 files covered. (89.58%)

43319 of 58674 relevant lines covered (73.83%)

146121.99 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
69.37
0.16% contrib/babelfishpg_money/fixeddecimal.c
4
86.13
0.17% contrib/babelfishpg_common/src/varchar.c
Jobs
ID Job ID Ran Files Coverage
1 12763991277.1 14 Jan 2025 09:11AM UTC 114
73.83
GitHub Action Run
Source Files on build 12763991277
  • Tree
  • List 114
  • Changed 69
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12763991277
  • 77b03e5b on github
  • Prev Build on BABEL_3_X_DEV (#12710642575)
  • Next Build on BABEL_3_X_DEV (#12797160734)
  • Delete
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