forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb49c879
committed
Fix psql's copy of utf2ucs() to match the backend's copy exactly;
in particular, propagate a fix in the test to see whether a UTF8 character haslength 4 bytes. This is likely of little real-world consequence because5-or-more-byte UTF8 sequences are not supported by Postgres nor seen anywherein the wild, but still we may as well get it right. Problem found by JosephAdams.Bug is aboriginal, so back-patch all the way.1 parentf0f46ed commitb49c879
1 file changed
+2
-10
lines changedLines changed: 2 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
57 | 56 |
| |
58 | 57 |
| |
59 |
| - | |
60 | 58 |
| |
61 |
| - | |
62 | 59 |
| |
63 | 60 |
| |
64 | 61 |
| |
65 |
| - | |
66 |
| - | |
67 |
| - | |
| 62 | + | |
68 | 63 |
| |
69 | 64 |
| |
70 | 65 |
| |
71 | 66 |
| |
72 |
| - | |
73 | 67 |
| |
74 |
| - | |
75 | 68 |
| |
76 | 69 |
| |
77 |
| - | |
78 | 70 |
| |
79 | 71 |
| |
80 | 72 |
| |
|
0 commit comments
Comments
(0)