- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit4d1dd8d
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 parent019e2f4 commit4d1dd8d
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 |
| |
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
171 |
| - | |
172 | 171 |
| |
173 | 172 |
| |
174 |
| - | |
175 | 173 |
| |
176 |
| - | |
177 | 174 |
| |
178 | 175 |
| |
179 | 176 |
| |
180 |
| - | |
181 |
| - | |
182 |
| - | |
| 177 | + | |
183 | 178 |
| |
184 | 179 |
| |
185 | 180 |
| |
186 | 181 |
| |
187 |
| - | |
188 | 182 |
| |
189 |
| - | |
190 | 183 |
| |
191 | 184 |
| |
192 |
| - | |
193 | 185 |
| |
194 | 186 |
| |
195 | 187 |
| |
|
0 commit comments
Comments
(0)