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: f8a4cad
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: bf9991d
Choose a head ref
  • 4 commits
  • 8 files changed
  • 2 contributors

Commits on Dec 26, 2025

  1. Don't cast away const where possible

    Add const to read only local variables, preserving the const qualifiers from the
    function signatures.
    
    This does not change all such instances, but only those hand-picked by the author.
    
    The ones that are not changed:
    
    - are just thin wrappers
    - would require public API changes
    - rely on external functions (such as LZ4F_compressUpdate())
    - would require complex subsystem changes
    bdrouvotAWS authored and Commitfest Bot committed Dec 26, 2025
    Configuration menu
    Copy the full SHA
    3190b46 View commit details
    Browse the repository at this point in the history
  2. Add const to read only TableInfo pointers in pg_dump

    Functions that dump table data receive their parameters through const void *
    but were casting away const. Add const qualifiers to functions that only read
    the table information.
    
    Also change getRootTableInfo to return const TableInfo *, since it only traverses
    the parent chain without modifying any TableInfo structures. This allows the dump
    functions to maintain const correctness when calling it.
    bdrouvotAWS authored and Commitfest Bot committed Dec 26, 2025
    Configuration menu
    Copy the full SHA
    b9b61c8 View commit details
    Browse the repository at this point in the history
  3. Separate read and write pointers in pg_saslprep

    Use separate pointers for reading const input ('p') and writing
    to mutable output ('outp'), avoiding the need to cast away const
    on the input parameter.
    bdrouvotAWS authored and Commitfest Bot committed Dec 26, 2025
    Configuration menu
    Copy the full SHA
    fd38b34 View commit details
    Browse the repository at this point in the history
  4. [CF 6325] v1 - Don't cast away const where possible

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/6325
    
    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/aUQHy/MmWq7c97wK@ip-10-97-1-34.eu-west-3.compute.internal
    Author(s): Bertrand Drouvot
    Commitfest Bot committed Dec 26, 2025
    Configuration menu
    Copy the full SHA
    bf9991d View commit details
    Browse the repository at this point in the history
Loading