forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita1f0c9b
committed
Fix old bug in log_autovacuum_min_duration code: it was relying on being able
to access a Relation entry it had just closed. I happened to be testing withCLOBBER_CACHE_ALWAYS, which made this a guaranteed core dump (at least onmachines where sprintf %s isn't forgiving of a NULL pointer). It's probablyquite unlikely that it would fail in the field, but a bug is a bug. Fix bymoving the relation_close call down past the logging action.1 parent9d98486 commita1f0c9b
1 file changed
+9
-9
lines changedLines changed: 9 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
518 | 518 |
| |
519 | 519 |
| |
520 | 520 |
| |
521 |
| - | |
522 |
| - | |
523 |
| - | |
524 |
| - | |
525 |
| - | |
526 |
| - | |
527 |
| - | |
528 |
| - | |
529 | 521 |
| |
530 | 522 |
| |
531 | 523 |
| |
| |||
540 | 532 |
| |
541 | 533 |
| |
542 | 534 |
| |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
543 | 543 |
| |
544 | 544 |
| |
545 | 545 |
| |
|
0 commit comments
Comments
(0)