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

Nat minor2 #60

Merged
merged 10 commits into from
Nov 6, 2019
Merged

Nat minor2 #60

merged 10 commits into from
Nov 6, 2019

Conversation

natmaka
Copy link
Contributor

@natmaka natmaka commented Nov 4, 2019

More janitor-related work, added the --nocolor option, various comments

print_report_ok("huge_pages=on, therefore PostgreSQL needs Huge Pages");
}
elsif (get_setting('huge_pages') eq 'try') {
print_report_bad("huge_pages=on, therefore PostgreSQL will try to use Huge Pages, if they are enabled");

Choose a reason for hiding this comment

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

You have try set as a print_report_bad level message, while completely disabled is only medium advice.

If anything on should be a print_report_warn, since the server will completely fail to start if it has no available huge pages.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, thank you!

@jfcoz jfcoz merged commit 021047b into jfcoz:master Nov 6, 2019
@jfcoz
Copy link
Owner

jfcoz commented Nov 6, 2019

Thanks again !

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

Successfully merging this pull request may close these issues.

3 participants