Skip to content
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Commit 3b386fc

Browse files
committed
No year in copyright; README: -h vs --pg-../--ssh-..
1 parent 5a7272f commit 3b386fc

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD with attribution
22

3-
Copyright © 2018-2019, Postgres.ai (https://postgres.ai), Nikolay Samokhvalov
3+
Copyright © Postgres.ai (https://postgres.ai), Nikolay Samokhvalov
44

55
Redistribution and use in source and binary forms, with or without
66
modification, are permitted provided that the following conditions are met:

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ at the upper right corner):
99
To treat the data correctly, you need deep Postgres knowledge. Each report
1010
consists of 3 sections: Observations, Conclusions, and Recommendations.
1111
Observations are filled automatically. As for Conclusions and Recommendations
12-
sections, as of October 2019, only limited number of reports are auto-generated.*
12+
sections, not all reports are auto-generated.*
1313

1414

1515
# About
@@ -153,7 +153,7 @@ cd postgres-checkup
153153
Let's make a report for a project named `prod1`. Assume that we have two servers,
154154
`db1.vpn.local` and `db2.vpn.local`.
155155

156-
Postgres-checkup automatically detects which one is a master:
156+
Postgres-checkup automatically detects which one is the master:
157157

158158
```bash
159159
./checkup -h db1.vpn.local -p 5432 --username postgres --dbname postgres --project prod1 -e 1
@@ -168,7 +168,8 @@ project directory, as epoch of check `1`. Epoch is a numerical (**integer**) sig
168168
For example: in half a year we can switch to "epoch number `2`".
169169

170170
`-h db2.vpn.local` means: try to connect to host via SSH and then use remote `psql` command to perform checks.
171-
If SSH is not available the local 'psql' will be used (non-psql reports will be skipped).
171+
If SSH is not available the local 'psql' will be used (non-psql reports will be skipped) to establish
172+
Postgres connection. If you want to avoid "guessing", use `-ssh-hostname` or `--pg-hostname`.
172173

173174
Also, you can define a specific way to connect: SSH or `psql`:
174175

checkup

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Copyright © 2018-2019, Postgres.ai (https://postgres.ai), Nikolay Samokhvalov
3+
# Copyright © Postgres.ai (https://postgres.ai), Nikolay Samokhvalov
44
#
55
# Automated health-checks of PostgreSQL clusters
66
#

pghrep/src/checkup/cfg/cfg.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/*
2-
2019 © Anatoly Stansler [email protected]
3-
2019 © Dmitry Udalov [email protected]
4-
2019 © Postgres.ai
2+
Copyright © Postgres.ai
53
*/
64

75
package cfg

pghrep/src/main.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
22
Postgres Health Reporter
33
4-
2018-2019 © Dmitry Udalov [email protected]
5-
2018-2019 © Postgres.ai
4+
Copyright © Postgres.ai
65
76
Perform a generation of Markdown report based on JSON results of postgres-checkup
87
Usage:

0 commit comments

Comments
 (0)