Commit 6d69b98
committed
Fix check_archive_ready for version 10 and above
The archive_ready check uses the wal_files check with dedicated options -
however, since wal_files was fixed for version 10 in 8e6b3c2 it called
pg_ls_waldir() even for the archive_ready check which is not
appropriate as this only lists files in pg_wal and not in
pg_wal/archive_status.
This change makes the wal_files check call pg_ls_archive_statusdir()
instead if $extrabit (i.e. .ready) is set, fixing issue #150.1 parent 89249c3 commit 6d69b98
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9423 | 9423 | | |
9424 | 9424 | | |
9425 | 9425 | | |
9426 | | - | |
9427 | | - | |
| 9426 | + | |
| 9427 | + | |
| 9428 | + | |
| 9429 | + | |
| 9430 | + | |
| 9431 | + | |
| 9432 | + | |
| 9433 | + | |
| 9434 | + | |
| 9435 | + | |
| 9436 | + | |
9428 | 9437 | | |
9429 | 9438 | | |
9430 | 9439 | | |
| |||
0 commit comments