Skip to content

Postgres: Support IS DOCUMENT predicate - #2508

Open
BenSatori wants to merge 1 commit into
apache:mainfrom
BenSatori:postgres-is-document
Open

BenSatori wants to merge 1 commit into
apache:mainfrom
BenSatori:postgres-is-document

Conversation

@BenSatori

Copy link
Copy Markdown
Contributor

Adds parsing and round-tripping for PostgreSQL XML IS DOCUMENT and IS NOT DOCUMENT predicates.

PostgreSQL documents these under XML predicates: https://www.postgresql.org/docs/current/functions-xml.html#FUNCTIONS-XML-PREDICATES

The parser handles DOCUMENT contextually after IS, gated by the existing XML expression dialect capability, so it does not become a global keyword.

AI assistance was used in preparing this change.

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.

1 participant