Commit graph

44 commits

Author SHA1 Message Date
Benjamin Renard
fb02ac9269
Fix debian package build dependencies 2024-07-17 11:49:24 +02:00
Benjamin Renard
d3311da78f
Update what the script do in README.md file 2024-07-17 11:49:24 +02:00
Benjamin Renard
e5514e587f
Fix taking care of synchronous_commit master configuration and removed useless -C parameter and its check 2024-07-17 11:49:23 +02:00
Benjamin Renard
bc078f83e8
Code cleaning 2024-07-16 13:43:26 +02:00
Benjamin Renard
269b92415f
Update README.md 2024-07-16 10:40:47 +02:00
Benjamin Renard
ff5059ed79
Fix Debian package dependencies
All checks were successful
Run tests / tests (push) Successful in 2m46s
2024-07-16 10:37:28 +02:00
Benjamin Renard
4090417ee3
Configure CI to build & publish new release
All checks were successful
Run tests / tests (push) Successful in 1m17s
2024-07-15 17:08:45 +02:00
Benjamin Renard
97f4875aee
Configure CI to run tests
All checks were successful
Run tests / tests (push) Successful in 1m33s
2024-07-15 15:25:40 +02:00
Benjamin Renard
255430803f
Code cleaning using shellexec and add pre-commit hook 2024-07-15 15:25:23 +02:00
Benjamin Renard
3aaa4a6b18
Fix wording 2024-07-15 12:50:27 +02:00
Benjamin Renard
a099e2f833
Retrieve master connection info using "SHOW primary_conninfo" SQL query instead of parsing recovery.conf 2024-07-15 12:49:55 +02:00
Benjamin Renard
747331a9ec
Add -E parameter to allow to specify expected mode and fix auto-detection on PG>=12 2024-06-03 16:07:32 +02:00
Benjamin Renard
8d172e944c
Code cleaning and introduce some pre-commit hooks 2024-06-03 15:47:30 +02:00
Benjamin Renard
5f9573612b
Add details in script output in recovery mode 2024-06-03 15:43:17 +02:00
Benjamin Renard
8b03a8bc21
Update README file and script header note 2024-06-03 15:36:27 +02:00
Benjamin Renard
49648b04fc
Add -e parameter to allow to specify expected replication state 2024-06-03 15:35:39 +02:00
Benjamin Renard
a674949d93
Use cluster_name as default application name on PG 12 and later 2024-06-03 15:35:38 +02:00
Benjamin Renard
ae1960d834
Retreive master host info in postgresql.auto.conf file on PG 12 and later 2024-06-03 15:35:38 +02:00
Benjamin Renard
d33476ce8d Update comment and README.md file 2020-11-04 19:19:22 +01:00
Benjamin Renard
0443f56b1d Improve LSN master/slave checks 2020-11-04 16:23:50 +01:00
Benjamin Renard
d4cbdb3c79 Remove spaces before colon (:) 2020-11-04 15:41:06 +01:00
Benjamin Renard
c8e6c80dc0 Update comment and README.md file 2020-11-04 15:37:20 +01:00
Benjamin Renard
ea72d09399 Adjust recovery control function names for PG > 10 2020-11-04 15:16:41 +01:00
Benjamin Renard
50c3363cbc Improve master node output message 2020-11-04 15:04:57 +01:00
Benjamin Renard
dc07eccd09 Improve PostgreSQL installation parameters auto-detection 2020-11-04 15:01:59 +01:00
Benjamin Renard
b092186b89 Make the check more adjustable to allow some delay between xlog files sent by master, received and replayed 2020-02-20 11:32:58 +01:00
Benjamin Renard
327f382b30 Improve README file 2019-03-15 17:21:18 +01:00
Benjamin Renard
914e33d335 Use sudo instead of su command to run command as postgres user 2019-03-15 17:15:22 +01:00
Benjamin Renard
950e21be0e Improve README and convert to markdown 2019-03-15 16:35:31 +01:00
Benjamin Renard
54b9b79023 Improve debug mode about master SQL request 2019-03-15 16:30:20 +01:00
Benjamin Renard
f883216050 Improve master connection informations detection reliability 2019-03-15 16:29:07 +01:00
Benjamin Renard
be30219100 Improve RECOVERY_MODE detection reliability 2019-03-15 16:28:39 +01:00
Benjamin Renard
99bacd9979 Improve debug mode 2019-03-15 16:27:42 +01:00
Benjamin Renard
a33e0bfabc Fix handling -D parameter 2019-03-15 16:26:05 +01:00
Benjamin Renard
40ecc78570 Wording 2019-03-15 16:23:37 +01:00
Benjamin Renard
690811ccfb Add -U parameter to provide user to use on master host 2018-01-30 17:45:15 +01:00
4efda74bf6 Improve help message and docs 2017-08-25 16:19:43 +02:00
3966aac8c1 Try to auto-detect PG_MAIN directory. 2017-08-25 16:19:15 +02:00
d8a4cfac51 Use PG_DB also on slave and use PG_USER as default value. 2017-08-25 16:18:51 +02:00
22bbb4223b Add -D parameter and retreive master user in recovery.conf file 2017-08-25 15:12:05 +02:00
Benjamin Renard
6892005c4d Add compatibility note 2015-04-28 11:50:12 +02:00
Benjamin Renard
c32669e075 Add README file 2015-04-27 16:24:36 +02:00
Benjamin Renard
9686f82b22 Manage options 2015-04-27 16:24:21 +02:00
Benjamin Renard
3a062b2852 Initial commit 2012-03-14 16:04:14 +01:00