Commit 494558f
committed
Remove the postmaster.pid file prior to pgBackRest restore
This commit removes the postmaster.pid file, if it exists, from the PGDATA
directory before attempting a restore. This allows the restore to be tried
more than once without causing an error due to the presence of the file
in subsequent attempts or in scenarios where the file is otherwise present.
Issue: [sc-15157]1 parent a8ab53c commit 494558f
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
200 | 204 | | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| 209 | + | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| |||
0 commit comments