forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita90e9d6
committed
Inserting 5 characters into char(10) does not produce 5 padding spaces
if they are two-byte multibyte characters. Same thing can be happenif octet_length(multibyte_chars) == n where n is char(n).Long standing bug since 7.3 days. Per report and fix from Yoshiyuki Asaba.1 parent11a0c37 commita90e9d6
1 file changed
+9
-3
lines changedLines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| |||
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
37 |
| - | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| |||
1553 | 1553 |
| |
1554 | 1554 |
| |
1555 | 1555 |
| |
1556 |
| - | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
1557 | 1563 |
| |
1558 | 1564 |
| |
1559 | 1565 |
| |
|
0 commit comments
Comments
(0)