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

babelfish-for-postgresql / babelfish_extensions / 13538561076
76%
BABEL_5_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: fixing_year_4x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 26 Feb 2025 07:54AM 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

26 Feb 2025 07:19AM UTC coverage: 74.995% (+0.001%) from 74.994%
13538561076

push

github

web-flow
Override max length of 0 for char parameter types in an RPC (#3515) (#3533)

In a TDS remote procedure call (RPC), the max length of char based
datatypes can be 0 - 8000. The typmod of the base PG type that we map the
RPC parameter to is directly related to the max length of the parameter
type specified in the RPC. For char/varchar typmod = maxLen and for
nchar/nvarchar typmod = maxLen / 2. Thus, if maxLen = 0, we will
translate it to typmod of 0 which is invalid for char based types in PG.

To fix this, if the max length of the RPC parameter on the wire is 0, we
will override the max length to the maximum permissible length of PG
char types i.e. 8000.

Task: BABEL-5639

Signed-off-by: Sharu Goel <goelshar@amazon.com>

1 of 2 new or added lines in 1 file covered. (50.0%)

1 existing line in 1 file now uncovered.

47106 of 62812 relevant lines covered (75.0%)

186130.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.42
-0.03% contrib/babelfishpg_tds/src/backend/tds/tdsrpc.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
72.43
-0.21% contrib/babelfishpg_tds/src/backend/tds/tdsutils.c
Jobs
ID Job ID Ran Files Coverage
1 13538561076.1 26 Feb 2025 07:54AM UTC 115
75.0
GitHub Action Run
Source Files on build 13538561076
  • Tree
  • List 115
  • Changed 51
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13538561076
  • 65408ebc on github
  • Prev Build on BABEL_4_X_DEV (#13512740888)
  • Next Build on BABEL_4_X_DEV (#13562939531)
  • 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