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/6000~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/6000
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 4, 2025

  1. jsonb: Optimize JsonbContainerTypeName by reordering type checks

    The JsonbContainerTypeName() function currently checks for the less
    common scalar container type before checking for objects and arrays.
    
    This commit reorders the checks to prioritize the most common cases. The
    macros JsonContainerIsArray() and JsonContainerIsObject() are
    simple bit checks and are now evaluated first. This avoids the
    overhead of calling the JsonbExtractScalar() function in the vast
    majority of use cases.
    
    Author: Chao Li <[email protected]>
    Chao Li (Evan) authored and Commitfest Bot committed Nov 4, 2025
    Configuration menu
    Copy the full SHA
    b9ee2d6 View commit details
    Browse the repository at this point in the history
  2. [CF 6000] v2 - Optimize JsonbContainerTypeName by reordering type checks

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/6000
    
    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/CAEoWx2n25k=amT2u_KY+Dk-UmV8GZiHfx=qpmh0RC=PTbAO+nA@mail.gmail.com
    Author(s): Chao Li
    Commitfest Bot committed Nov 4, 2025
    Configuration menu
    Copy the full SHA
    c185ef4 View commit details
    Browse the repository at this point in the history
Loading