Skip to content

Added logs for humans #1591

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nickanderson
Copy link
Member

No description provided.

@cf-bottom
Copy link

Thank you for submitting a PR! Maybe @craigcomstock can review this?

Copy link
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, thanks! maybe some word smithing.

init_postgres_dir "$new_pgconfig_file" "$pgconfig_type"
fi
if is_upgrade && [ -d "$BACKUP_DIR/data" ]; then
cf_console echo "Upgrade & BACKUP_DIR/data is present, proceeding with db migration"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cf_console echo "Upgrade & BACKUP_DIR/data is present, proceeding with db migration"
cf_console echo "Upgrade and BACKUP_DIR/data is present, proceeding with full database migration."

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aka "full database migration" is my phrase for what is described here: https://www.postgresql.org/docs/current/upgrading.html

do_migration "$new_pgconfig_file" "$pgconfig_type"
else
cf_console echo "No db migration necessary, skipping"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cf_console echo "No db migration necessary, skipping"
cf_console echo "Major version of PostgreSQL did not change so simple migration will occur."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants