forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4243f23
committed
Suppress attempts to report dropped tables to the stats collector from a
startup or recovery process. Since such a process isn't a real backend,pgstat.c gets confused. This accounts for recent reports of strange"invalid server process ID -1" log messages during crash recovery.There isn't any point in attempting to make the report, since we'll discardstats in such scenarios anyhow.1 parentbee34e9 commit4243f23
1 file changed
+9
-3
lines changedLines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
470 | 470 |
| |
471 | 471 |
| |
472 | 472 |
| |
473 |
| - | |
474 |
| - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
475 | 481 |
| |
476 | 482 |
| |
477 | 483 |
| |
|
0 commit comments
Comments
(0)