forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff49430
committed
Fix datatype for number of heap tuples during last cleanup
It appears that new fields introduced in857f9c3 have inconsistent datatypes:BTMetaPageData.btm_last_cleanup_num_heap_tuples is of float4 type,while xl_btree_metadata.last_cleanup_num_heap_tuples is of double type.IndexVacuumInfo.num_heap_tuples, which is a source of values forboth former fields is of double type. So, make both those fields inBTMetaPageData and xl_btree_metadata use float8 type in order to match theprecision of the source. That shouldn't be double type, because we alwaysuse types with explicit width in WAL.Patch introduces incompatibility of on-disk format since857f9c3 commit, butthat versions never was released, so just bump catalog version to avoidpossible confusion.Author: Alexander Korortkov1 parentf97f0c9 commitff49430
3 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
0 commit comments
Comments
(0)