forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita4e035b
committed
Fix integer-to-bit-string conversions to handle the first fractional byte
correctly when the output bit width is wider than the given integer bysomething other than a multiple of 8 bits.This has been wrong since I first wrote that code for 8.0 :-(. Kudos toRoman Kononov for being the first to notice, though I didn't use hispatch. Per bug #5237.1 parent02490d4 commita4e035b
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
1346 | 1346 |
| |
1347 | 1347 |
| |
1348 | 1348 |
| |
1349 |
| - | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
1350 | 1355 |
| |
1351 | 1356 |
| |
1352 | 1357 |
| |
| |||
1425 | 1430 |
| |
1426 | 1431 |
| |
1427 | 1432 |
| |
1428 |
| - | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
1429 | 1439 |
| |
1430 | 1440 |
| |
1431 | 1441 |
| |
|
0 commit comments
Comments
(0)