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

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

Build:
Build:
LAST BUILD BRANCH: BABEL-6127-5x
DEFAULT BRANCH: BABEL_5_X_DEV
Ran 23 Jun 2025 06:58PM UTC
Jobs 1
Files 120
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

23 Jun 2025 06:24PM UTC coverage: 75.728% (-0.001%) from 75.729%
15832059836

push

github

web-flow
Updated escape logic in quotename (#3857)

Issue Description:

In Babelfish, the QUOTENAME function currently produces incorrect results for many queries due to flaws in its escape character handling logic. The function fails to properly escape characters that match the right delimiter.
Also handle Unicode character handling in delimeter.
Changes logic to accept fetch first character from delimeter string and use it as delimeter
This PR is cherry-pick from 5_X_DEV to 4_X_DEV branch: https://github.com/babelfish-for-postgresql/babelfish_extensions/pull/3817

Solution:
The escape logic has been updated to properly handle special characters. Now, when QUOTENAME encounters any character within the input string that matches the right delimiter, it correctly escapes that character.
Updated logic to check byte size instead of len check.

Issues Resolved :BABEL-2311
Signed-off-by: Herambh Shah <herambhs@amazon.com>

14 of 14 new or added lines in 1 file covered. (100.0%)

49181 of 64944 relevant lines covered (75.73%)

323674.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15832059836.1 23 Jun 2025 06:58PM UTC 120
75.73
GitHub Action Run
Source Files on build 15832059836
  • Tree
  • List 120
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15832059836
  • a63a9309 on github
  • Prev Build on BABEL_4_X_DEV (#15785133586)
  • Next Build on BABEL_4_X_DEV (#15850343407)
  • 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