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: 4f7dacc
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: 795e94c
Choose a head ref
  • 1 commit
  • 2 files changed
  • 2 contributors

Commits on Dec 11, 2025

  1. Make <assert.h> consistently available in frontend and backend

    Previously, c.h made <assert.h> only available in frontends (#ifdef
    FRONTEND), which was probably reasonable, because the only thing it
    would give you is assert(), which you generally shouldn't use in the
    backend.  But with C11, <assert.h> also makes available
    static_assert(), which would be useful everywhere.  So this patch
    moves <assert.h> to the commonly available header files in c.h and
    fixes a small complication in regcustom.h that resulted from that.
    
    Co-authored-by: Thomas Munro <thomas.munro@gmail.com>
    Discussion: https://www.postgresql.org/message-id/flat/CA%2BhUKGKvr0x_oGmQTUkx%3DODgSksT2EtgCA6LmGx_jQFG%3DsDUpg%40mail.gmail.com
    petere and macdice committed Dec 11, 2025
    Configuration menu
    Copy the full SHA
    795e94c View commit details
    Browse the repository at this point in the history
Loading