Skip to content

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

Open
LucaCappelletti94 wants to merge 5 commits intoapache:mainfrom
LucaCappelletti94:postgres-regression-7a
Open

Add xml '...' TypedString support for PostgreSQL#2299
LucaCappelletti94 wants to merge 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

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.

3 participants