- Notifications
You must be signed in to change notification settings - Fork5
Commit2825337
committed
Fix vac_update_relstats to ensure it always sends a relcache inval message,
even if none of the fields in the pg_class row change. This behavior isnecessary to ensure other backends flush rd_targblock values that mightpoint to truncated-away pages. We got this right pre-8.2 but it was brokenby overoptimistic change to not write out the pg_class row if unchanged.Per report from Pavan Deolasee.1 parent2afb01d commit2825337
1 file changed
+12
-2
lines changedLines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
715 | 715 |
| |
716 | 716 |
| |
717 | 717 |
| |
718 |
| - | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
719 | 721 |
| |
720 | 722 |
| |
| 723 | + | |
721 | 724 |
| |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
722 | 732 |
| |
723 | 733 |
| |
724 | 734 |
| |
|
0 commit comments
Comments
(0)