- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit9217dee
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 parent1207827 commit9217dee
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 |
| |
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 |
| - | |
176 | 175 |
| |
177 | 176 |
| |
178 |
| - | |
179 | 177 |
| |
180 |
| - | |
181 | 178 |
| |
182 | 179 |
| |
183 | 180 |
| |
184 |
| - | |
185 |
| - | |
186 |
| - | |
| 181 | + | |
187 | 182 |
| |
188 | 183 |
| |
189 | 184 |
| |
190 | 185 |
| |
191 |
| - | |
192 | 186 |
| |
193 |
| - | |
194 | 187 |
| |
195 | 188 |
| |
196 |
| - | |
197 | 189 |
| |
198 | 190 |
| |
199 | 191 |
| |
|
0 commit comments
Comments
(0)