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/6173~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/6173
Choose a head ref
  • 1 commit
  • 34 files changed
  • 1 contributor

Commits on Oct 31, 2025

  1. Mark function arguments of type "Datum *" as "const Datum *" where po…

    …ssible
    
    Several functions in the codebase accept "Datum *" parameters but do
    not modify the pointed-to data.  These have been updated to take
    "const Datum *" instead, improving type safety and making the
    interfaces clearer about their intent.  This change helps the compiler
    catch accidental modifications and better documents immutability of
    arguments.
    
    Most of "Datum *" parameters have a pairing "bool *isnull" parameter,
    they are constified as well.
    
    No functional behavior is changed by this patch.
    
    Author: Chao Li <lic@highgo.com>
    Discussion: https://www.postgresql.org/message-id/flat/CAEoWx2msfT0knvzUa72ZBwu9LR_RLY4on85w2a9YpE-o2By5HQ@mail.gmail.com
    petere committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    8a27d41 View commit details
    Browse the repository at this point in the history
Loading