forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitea4e1c0
committed
Additional fixes of memory alignment in pg_mcv_list code
Commitd85e0f3 tried to fix memory alignment issues in serializationand deserialization of pg_mcv_list values, but it was a few bricks shy.The arrays of uint16 indexes in serialized items was not aligned, andthe both the values and isnull flags were using the same pointer.Per investigation by Tom Lane on gaur.1 parent7ad6498 commitea4e1c0
1 file changed
+9
-8
lines changedLines changed: 9 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| |||
929 | 929 |
| |
930 | 930 |
| |
931 | 931 |
| |
932 |
| - | |
933 |
| - | |
| 932 | + | |
| 933 | + | |
934 | 934 |
| |
935 | 935 |
| |
936 | 936 |
| |
| |||
942 | 942 |
| |
943 | 943 |
| |
944 | 944 |
| |
945 |
| - | |
| 945 | + | |
946 | 946 |
| |
947 |
| - | |
| 947 | + | |
948 | 948 |
| |
949 | 949 |
| |
950 | 950 |
| |
| |||
1043 | 1043 |
| |
1044 | 1044 |
| |
1045 | 1045 |
| |
1046 |
| - | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
1047 | 1050 |
| |
1048 |
| - | |
1049 |
| - | |
1050 | 1051 |
| |
1051 | 1052 |
| |
1052 | 1053 |
| |
|
0 commit comments
Comments
(0)