Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix size calculation in --optimize vacuum #1447

Merged
merged 3 commits into from
Mar 17, 2021

Commits on Mar 16, 2021

  1. Fix size calculation in --optimize vacuum

    The database size was still trying to stat a filesystem path as used
    by SQLite as the database name.
    This is changed to use the SQL function pg_database_size instead and
    also the case where the size increases is now handled.
    timopollmeier committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    b1d80a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f42fa43 View commit details
    Browse the repository at this point in the history
  3. Remove unused initializations in manage_optimize

    In the "vacuum" case, old_size and new_size no longer need to be
    initialized with 0.
    timopollmeier committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    b4d48f7 View commit details
    Browse the repository at this point in the history