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

babelfish-for-postgresql / babelfish_extensions / 13526741565
77%

Build:
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 25 Feb 2025 05:24PM 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

25 Feb 2025 05:02PM UTC coverage: 75.014%. Remained the same
13526741565

push

github

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

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

47140 of 62842 relevant lines covered (75.01%)

184438.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.42
-0.03% contrib/babelfishpg_tds/src/backend/tds/tdsrpc.c
Jobs
ID Job ID Ran Files Coverage
1 13526741565.1 25 Feb 2025 05:24PM UTC 115
75.01
GitHub Action Run
Source Files on build 13526741565
  • Tree
  • List 115
  • Changed 50
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13526741565
  • 10442368 on github
  • Prev Build on BABEL_5_X_DEV (#13501845247)
  • Next Build on BABEL_5_X_DEV (#13537146171)
  • 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