Skip to content

Add xml '...' TypedString support for PostgreSQL#2299

Merged
yoavcloud merged 5 commits intoapache:mainfrom
LucaCappelletti94:postgres-regression-7a
Apr 10, 2026
Merged

Add xml '...' TypedString support for PostgreSQL#2299
yoavcloud merged 5 commits intoapache:mainfrom
LucaCappelletti94:postgres-regression-7a

Conversation

@LucaCappelletti94
Copy link
Copy Markdown
Contributor

This is the first PR in a chain adding PostgreSQL XML function support (split from #2252).

  • Add xml <foo/> typed string support for PostgreSQL and Generic dialects, parsing it as Expr::TypedString (same mechanism used by DATE '...', TIME '...', etc.)
  • Introduce supports_xml_expressions() dialect method (default false, true for PostgreSQL and Generic) per reviewer feedback to avoid dialect_of!
  • Add is_simple_unquoted_object_name helper for matching single unquoted identifiers in DataType::Custom

@yoavcloud yoavcloud added this pull request to the merge queue Apr 10, 2026
@yoavcloud
Copy link
Copy Markdown
Contributor

Looks good, @LucaCappelletti94!

@LucaCappelletti94
Copy link
Copy Markdown
Contributor Author

Will proceed to step 2.

Merged via the queue into apache:main with commit 6fa3614 Apr 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants