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

Commits on Apr 30, 2025

  1. Add pg_tablespace_avail() functions

    This exposes the f_avail value from statvfs() on tablespace directories
    on the SQL level, allowing monitoring of free disk space from within the
    server. On windows, GetDiskFreeSpaceEx() is used.
    
    Permissions required match those from pg_tablespace_size().
    
    In psql, include a new "Free" column in \db+ output.
    
    Add test coverage for pg_tablespace_avail() and the previously not
    covered pg_tablespace_size() function.
    df7cb authored and Commitfest Bot committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    819c440 View commit details
    Browse the repository at this point in the history
  2. [CF 5651] v4 - Available disk space per tablespace

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5651
    
    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): Christoph Berg
    Commitfest Bot committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    631a2ed View commit details
    Browse the repository at this point in the history
Loading