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/5999~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/5999
Choose a head ref
  • 3 commits
  • 5 files changed
  • 2 contributors

Commits on Sep 9, 2025

  1. Replace callers of dynahash.h's my_log() by equivalent in pg_bitutils.h

    All these callers use 4-byte signed integers for their variables, hence
    they do not require my_log2() maximum based on int64.  This eases an
    upcoming removal of my_log2().
    
    ExecChooseHashTableSize(), that calculates the number of buckets to use
    for hash tables, is now capped at 2^30, to keep pg_ceil_log2_32() on the
    same side.  nodeAgg.c is already capped at 1024, and worker.c relies on
    the maximum number of subxacts.
    michaelpq authored and Commitfest Bot committed Sep 9, 2025
    Configuration menu
    Copy the full SHA
    cf1f323 View commit details
    Browse the repository at this point in the history
  2. Remove dynahash.h

    All the callers of my_log2() are now limited to dynahash.c, so let's
    remove its header.  This capability is provided by pg_bitutils.h
    already.
    michaelpq authored and Commitfest Bot committed Sep 9, 2025
    Configuration menu
    Copy the full SHA
    3f2b3c8 View commit details
    Browse the repository at this point in the history
  3. [CF 5999] v3 - Merge next power of 2 routines of dynahash.c with pg_b…

    …itutils.h
    
    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5999
    
    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): Michael Paquier
    Commitfest Bot committed Sep 9, 2025
    Configuration menu
    Copy the full SHA
    88e6041 View commit details
    Browse the repository at this point in the history
Loading