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: bucardo/check_postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ibarwick/check_postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 5, 2018

  1. check_disk_space: handle relative symlinks for the WAL directory

    If the WAL directory (pg_xlog or pg_wal) resolves to a symbolic link,
    e.g. "../some-wal-dir", the check fails with an error like:
    
        ERROR: Invalid result from command "/bin/df -kP "../some-wal-dir" 2>&1": /bin/df: "../some-wal-dir": No such file or directory
    
    This patch checks for a relative symlink and extracts the actual WAL directory
    using abs_path().
    ibarwick committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    30850b5 View commit details
    Browse the repository at this point in the history
Loading