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: 5941946
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: fc6daba
Choose a head ref
  • 2 commits
  • 13 files changed
  • 3 contributors

Commits on Mar 19, 2025

  1. Add vacuum_truncate configuration parameter.

    This new parameter works just like the eponymous storage parameter:
    if set to true (which is the default), autovacuum and VACUUM
    attempt to truncate any empty pages at the end of the table.  It is
    primarily intended to help users avoid locking issues on hot
    standbys.  The setting can be overridden with the storage parameter
    or VACUUM's TRUNCATE option.
    
    Since there's presently no way to determine whether a Boolean
    storage parameter is explicitly set or has just picked up the
    default value, this commit also introduces an isset_offset member
    to relopt_parse_elt.
    
    Suggested-by: Will Storey <[email protected]>
    Author: Nathan Bossart <[email protected]>
    Co-authored-by: Gurjeet Singh <[email protected]>
    Reviewed-by: Laurenz Albe <[email protected]>
    Reviewed-by: Fujii Masao <[email protected]>
    Reviewed-by: Robert Treat <[email protected]>
    Discussion: https://postgr.es/m/Z2DE4lDX4tHqNGZt%40dev.null
    2 people authored and Commitfest Bot committed Mar 19, 2025
    Configuration menu
    Copy the full SHA
    d5c35ce View commit details
    Browse the repository at this point in the history
  2. [CF 5605] v6 - add vacuum_truncate GUC

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5605
    
    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/Z9rsMX5ZOL5E0cQy@nathan
    Author(s): Nathan Bossart, Gurjeet Singh
    Commitfest Bot committed Mar 19, 2025
    Configuration menu
    Copy the full SHA
    fc6daba View commit details
    Browse the repository at this point in the history
Loading