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

babelfish-for-postgresql / babelfish_extensions / 29523958228
78%

Build:
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 16 Jul 2026 06:58PM UTC
Jobs 1
Files 128
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

16 Jul 2026 06:26PM UTC coverage: 77.644% (+0.003%) from 77.641%
29523958228

push

github

web-flow
Support RTE_NAMEDTUPLESTORE in FOR XML/JSON AUTO for trigger transition tables (#4897)

Currently, Babelfish's FOR XML AUTO and FOR JSON AUTO fail with "requires at least one table" when the query source is a named tuplestore specifically the INSERTED and DELETED transition tables inside AFTER triggers. With this change, these transition tables are now recognized as valid sources, and the query produces correct hierarchical XML/JSON output using the tuplestore name (e.g., "inserted", "deleted") as the element/object key name.

The fix was needed because PostgreSQL represents trigger transition tables as RTE_NAMEDTUPLESTORE range table entries, but the FOR AUTO valid-source check only accepted RTE_RELATION, RTE_SUBQUERY, RTE_CTE, RTE_GROUP, and user-defined RTE_FUNCTION.


Task: BABEL-6878
Signed-off-by: Rohit Bhagat <rohitbgt@amazon.com>

56028 of 72160 relevant lines covered (77.64%)

593209.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
169
90.37
0.0% contrib/babelfishpg_tsql/src/pl_handler.c
Jobs
ID Job ID Ran Files Coverage
1 29523958228.1 16 Jul 2026 06:58PM UTC 128
77.64
GitHub Action Run
Source Files on build 29523958228
  • Tree
  • List 128
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29523958228
  • 46617a93 on github
  • Prev Build on BABEL_6_X_DEV (#29388670424)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc