Skip to content

Fix PostreSQL -> PostgreSQL typo #86

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
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Connecting to /var/run/postgresql:5432 database template1 with user postgres...
[INFO] Currently used I/O scheduler(s): mq-deadline
===== General instance informations =====
----- Version -----
[OK] You are using the latest major version (11.5 (Debian 11.5-1+deb10u1)) of PostreSQL
[OK] You are using the latest major version (11.5 (Debian 11.5-1+deb10u1)) of PostgreSQL
----- Uptime -----
[INFO] Service uptime: 01h 41m 13s
[WARN] Uptime less than 1 day. My report may be inaccurate
Expand Down Expand Up @@ -201,7 +201,7 @@ Le script ne détecte pas toujours parfaitement l'éventuel hyperviseur ou le st
```
--ssd
```
Indique que le stockage employé par PostreSQL est SSD. Utile si PostgreSQL est dans une VM, car je ne peux en ce cas déterminer le type de stockage physique employé.
Indique que le stockage employé par PostgreSQL est SSD. Utile si PostgreSQL est dans une VM, car je ne peux en ce cas déterminer le type de stockage physique employé.

- Couleur

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Connecting to /var/run/postgresql:5432 database template1 with user postgres...
[INFO] Currently used I/O scheduler(s): mq-deadline
===== General instance informations =====
----- Version -----
[OK] You are using the latest major version (11.5 (Debian 11.5-1+deb10u1)) of PostreSQL
[OK] You are using the latest major version (11.5 (Debian 11.5-1+deb10u1)) of PostgreSQL
----- Uptime -----
[INFO] Service uptime: 01h 41m 13s
[WARN] Uptime less than 1 day. My report may be inaccurate
Expand Down
8 changes: 4 additions & 4 deletions postgresqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -441,13 +441,13 @@ sub usage {
print_header_2("PostgreSQL version");
my $version=get_nonvolatile_setting('server_version');
if ($version=~/(devel|rc|beta)/) {
print_report_bad("You are using PostreSQL version $version which is a Development Snapshot, Beta or Release Candidate");
print_report_bad("You are using PostgreSQL version $version which is a Development Snapshot, Beta or Release Candidate");
add_advice("version","high","If this instance is a production server, then only use stable versions");
}
my $pg_upgrade="Upgrade to the latest stable PostgreSQL version";
my $pg_supportdates="Check https://www.postgresql.org/support/versioning/ for upstream support dates";
if (min_version('13.0')) {
print_report_ok("You are using the latest PostreSQL major version ($version)");
print_report_ok("You are using the latest PostgreSQL major version ($version)");
} elsif (min_version('12.0')) {
print_report_ok($pg_upgrade);
add_advice("version","low",$pg_upgrade);
Expand All @@ -463,11 +463,11 @@ sub usage {
add_advice("version","medium",$pg_upgrade);
add_advice("version","medium",$pg_supportdates);
} elsif (min_version('8.1')) {
print_report_bad("You are using PostreSQL version $version, which is unsupported upstream");
print_report_bad("You are using PostgreSQL version $version, which is unsupported upstream");
add_advice("version","high",$pg_upgrade);
add_advice("version","high",$pg_supportdates);
} else {
print_report_bad("You are using PostreSQL version $version, which is very old and not supported by this script");
print_report_bad("You are using PostgreSQL version $version, which is very old and not supported by this script");
add_advice("version","high",$pg_upgrade);
}
}
Expand Down