forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1d863c2
committed
pg_resetwal: Improve error with wrong/missing data directory
Run chdir() before permission check to get a less confusing errormessage if the specified data directory does not exist.Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>Discussion:https://www.postgresql.org/message-id/flat/0f3ab4a1-ae80-56e8-3426-6b4a02507687@eisentraut.org1 parent7273945 commit1d863c2
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
345 | 345 |
| |
346 | 346 |
| |
347 | 347 |
| |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
348 | 352 |
| |
349 | 353 |
| |
350 | 354 |
| |
351 | 355 |
| |
352 | 356 |
| |
353 | 357 |
| |
354 | 358 |
| |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 |
| - | |
359 | 359 |
| |
360 | 360 |
| |
361 | 361 |
| |
|
0 commit comments
Comments
(0)