- Notifications
You must be signed in to change notification settings - Fork28
Commita338d65
committed
Fix pageinspect's heap_page_item to return infomasks as 32 bit values
HeapTupleHeader's t_infomask and t_infomask2 are defined as 16-bitunsigned integers, so when the 16th bit was set, heap_page_item wasreturning them as negative values, which was ugly.The change to pageinspect--unpackaged--1.0.sql allows a module upgradedfrom 9.0 to be cleanly updated from the previous definition.1 parent79ad8fc commita338d65
File tree
2 files changed
+21
-3
lines changed- contrib/pageinspect
2 files changed
+21
-3
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
173 |
| - | |
174 |
| - | |
| 173 | + | |
| 174 | + | |
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
|
Lines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
3 | 22 |
| |
4 | 23 |
| |
5 | 24 |
| |
6 |
| - | |
7 | 25 |
| |
8 | 26 |
| |
9 | 27 |
| |
|
0 commit comments
Comments
(0)