Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5456~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5456
Choose a head ref
  • 2 commits
  • 12 files changed
  • 2 contributors

Commits on Apr 18, 2025

  1. Add XMLNamespaces option to XMLElement

    This patch adds the scoped option XMLNamespaces to XMLElement,
    as described in ISO/IEC 9075-14:2023, 11.2 XML lexically scoped
    options:
    
    xmlnamespaces(uri AS prefix, ...)
    xmlnamespaces(DEFAULT uri, ...)
    xmlnamespaces(NO DEFAULT, ...)
    
    * prefix:         Namespace's prefix.
    * uri:            Namespace's URI.
    * DEFAULT prefix: Specifies the DEFAULT namespace to use within
    the scope of a namespace declaration.
    * NO DEFAULT:     Specifies that NO DEFAULT namespace is to be
    used within the scope of a namespace declaration.
    
    == Examples ==
    
    SELECT xmlelement(NAME "foo", xmlnamespaces('http:/x.y' AS bar));
              xmlelement
    ------------------------------
     <foo xmlns:bar="http:/x.y"/>
    
    SELECT xmlelement(NAME "foo", xmlnamespaces(DEFAULT 'http:/x.y'));
            xmlelement
    --------------------------
     <foo xmlns="http:/x.y"/>
    
     SELECT xmlelement(NAME "foo", xmlnamespaces(NO DEFAULT));
       xmlelement
    -----------------
    jimjonesbr authored and Commitfest Bot committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    409cf8f View commit details
    Browse the repository at this point in the history
  2. [CF 5456] v6 - Add XMLNamespaces option to XMLElement

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5456
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/[email protected]
    Author(s): Pavel Stehule, Jim Jones
    Commitfest Bot committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    e2f89ba View commit details
    Browse the repository at this point in the history
Loading