forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit00edb20
committed
Don't clean initdb files on template creation failure
Commit252dcb3 introduced initdb template caching to speed uptests by re-using initdb output. The initdb command didn't howeveruse the --no-clean option to preserve generated data in case initdbcrashes unlike pg_regress which does do this. This adds the optionto initdb to aid debugging.While changing the commandline, switch to using long options forinitdb to make the code more self-documenting.Author: Matthias van de Meent <boekewurm+postgres@gmail.com>Discussion:https://postgr.es/m/CAEze2WhSTjfK_M+Ea4GSQp8odrEOaQS8HyORd1TJUEiyXaB+rw@mail.gmail.com1 parent44913ad commit00edb20
2 files changed
+3
-2
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3116 | 3116 |
| |
3117 | 3117 |
| |
3118 | 3118 |
| |
3119 |
| - | |
| 3119 | + | |
| 3120 | + | |
3120 | 3121 |
| |
3121 | 3122 |
| |
3122 | 3123 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
423 | 423 |
| |
424 | 424 |
| |
425 | 425 |
| |
426 |
| - | |
| 426 | + | |
427 | 427 |
| |
428 | 428 |
| |
429 | 429 |
| |
|
0 commit comments
Comments
(0)