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

babelfish-for-postgresql / babelfish_extensions / 12742860948
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 13 Jan 2025 08:32AM UTC
Jobs 1
Files 115
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

13 Jan 2025 07:57AM UTC coverage: 74.957% (+0.01%) from 74.947%
12742860948

push

github

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

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%)

46978 of 62673 relevant lines covered (74.96%)

167757.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
69.37
0.16% contrib/babelfishpg_money/fixeddecimal.c
4
84.41
0.25% contrib/babelfishpg_common/src/varchar.c
Jobs
ID Job ID Ran Files Coverage
1 12742860948.1 13 Jan 2025 08:32AM UTC 115
74.96
GitHub Action Run
Source Files on build 12742860948
  • Tree
  • List 115
  • Changed 71
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12742860948
  • 690cd99f on github
  • Prev Build on BABEL_5_X_DEV (#12741819145)
  • Next Build on BABEL_5_X_DEV (#12763983729)
  • 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

© 2026 Coveralls, Inc