Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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/5753~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/5753
Choose a head ref
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on May 15, 2025

  1. Fix Assert failure in XMLTABLE parser

    In an XMLTABLE expression, columns can be marked NOT NULL, and the
    parser internally fabricates an option named "is_not_null" to
    represent this.  However, the parser also allows users to specify
    arbitrary option names.  This creates a conflict: a user can
    explicitly use "is_not_null" as an option name and assign it a
    non-Boolean value, which violates internal assumptions and triggers an
    assertion failure.
    
    To fix, this patch checks whether a user-supplied name collides with
    the internally reserved option name and raises an error if so.
    Additionally, the internal name is renamed to "__pg__is_not_null" to
    further reduce the risk of collision with user-defined names.
    
    Reported-by: Евгений Горбанев <gorbanyoves@basealt.ru>
    Author: Richard Guo <guofenglinux@gmail.com>
    Reviewed-by: Alvaro Herrera <alvherre@kurilemu.de>
    Discussion: https://postgr.es/m/6bac9886-65bf-4cec-96bd-e304159f28db@basealt.ru
    Backpatch-through: 15
    Richard Guo committed May 15, 2025
    Configuration menu
    Copy the full SHA
    fe29b2a View commit details
    Browse the repository at this point in the history
Loading