forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf4f522d
committed
In pg_regress, remove the temporary installation upon successful exit.
This results in a very substantial reduction in disk space usage during"make check-world", since that sequence involves creation of numeroustemporary installations. It should also help a bit in the buildfarm, eventhough the buildfarm script doesn't create as many temp installations,because the current script misses deleting some of them; and anyway itseems better to do this once in one place rather than expecting thatscript to get it right every time.In 9.4 and HEAD, also undo the unwise choice in commitb1aebbbto report strerror(errno) after a rmtree() failure. rmtree has alreadyreported that, possibly for multiple failures with distinct errnos; andwhat's more, by the time it returns there is no good reason to assumethat errno still reflects the last reportable error. So reporting errnohere is at best redundant and at worst badly misleading.Back-patch to all supported branches, so that future revisions of thebuildfarm script can rely on this behavior.1 parentb87c1dc commitf4f522d
1 file changed
+13
-0
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2680 | 2680 |
| |
2681 | 2681 |
| |
2682 | 2682 |
| |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
2683 | 2696 |
| |
2684 | 2697 |
| |
2685 | 2698 |
| |
|
0 commit comments
Comments
(0)