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

babelfish-for-postgresql / babelfish_extensions / 17738048093
78%
BABEL_6_X_DEV: 78%

Build:
Build:
LAST BUILD BRANCH: BABEL_5_X_DEV
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 15 Sep 2025 03:44PM UTC
Jobs 1
Files 121
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

15 Sep 2025 03:19PM UTC coverage: 76.366% (+0.04%) from 76.322%
17738048093

push

github

web-flow
Added support for sp_xml_preparedocument and sp_xml_removedocument procedures (#3461)

Currently babelfish does not support procedures like sp_xml_preparedocument and sp_xml_removedocument. This PR adds support for the sp_xml_preparedocument and sp_xml_removedocument procedures.
The procedure sp_xml_preparedocument parses an XML text given as input , stores it at session level and returns a handle to this document, which can be used to fetch the document.
Similarly , the purpose of sp_xml_removedocument is to remove the internal representation of the XML document and invalidate that handle which was created using the sp_xml_preparedocument procedure.

The syntax for the procedures is as folllows:

sp_xml_preparedocument hdoc OUTPUT [ , xmltext ] [ , xpath_namespaces ] [ ; ]

hdoc is the handle to the newly created document. hdoc is an integer.
xmltext is the given XML document in text format. The default value is NULL.
xpath_namespaces is a text parameter which specifies the namespace declarations that are used in row and column XPath expressions in OPENXML. The default value is NULL.
sp_xml_removedocument hdoc [ ; ]

The handle to the already existing created document. A handle that isn't valid returns an error. hdoc is an integer.
BABEL-1168

---------

Signed-off-by: Harsh Dubey <harshdu@amazon.com>
Co-authored-by: Harsh Dubey <harshdu@amazon.com>

199 of 225 new or added lines in 2 files covered. (88.44%)

50752 of 66459 relevant lines covered (76.37%)

383898.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
26
88.89
-0.07% contrib/babelfishpg_tsql/src/procedures.c
Jobs
ID Job ID Ran Files Coverage
1 17738048093.1 15 Sep 2025 03:44PM UTC 121
76.37
GitHub Action Run
Source Files on build 17738048093
  • Tree
  • List 121
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17738048093
  • ae1cd1da on github
  • Prev Build on BABEL_5_X_DEV (#17667796661)
  • Next Build on BABEL_5_X_DEV (#17784314195)
  • 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