forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit403cbd2
committed
Relax check for return value from second call of pg_strnxfrm().
strxfrm() is not guaranteed to return the exact number of bytes neededto store the result; it may return a higher value.Discussion:https://postgr.es/m/32f85d88d1f64395abfe5a10dd97a62a4d3474ce.camel@j-davis.comReviewed-by: Heikki LinnakangasBackpatch-through: 161 parent9d198f4 commit403cbd2
File tree
3 files changed
+18
-10
lines changed- src/backend
- access/hash
- utils/adt
3 files changed
+18
-10
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
300 | 300 |
| |
301 | 301 |
| |
302 | 302 |
| |
303 |
| - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
304 | 306 |
| |
305 | 307 |
| |
306 | 308 |
| |
| |||
354 | 356 |
| |
355 | 357 |
| |
356 | 358 |
| |
357 |
| - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
358 | 362 |
| |
359 | 363 |
| |
360 | 364 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2288 | 2288 |
| |
2289 | 2289 |
| |
2290 | 2290 |
| |
2291 |
| - | |
2292 |
| - | |
2293 |
| - | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
2294 | 2294 |
| |
2295 | 2295 |
| |
2296 | 2296 |
| |
| |||
2320 | 2320 |
| |
2321 | 2321 |
| |
2322 | 2322 |
| |
2323 |
| - | |
2324 |
| - | |
2325 |
| - | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
2326 | 2326 |
| |
2327 | 2327 |
| |
2328 | 2328 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1029 | 1029 |
| |
1030 | 1030 |
| |
1031 | 1031 |
| |
1032 |
| - | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1033 | 1035 |
| |
1034 | 1036 |
| |
1035 | 1037 |
| |
| |||
1085 | 1087 |
| |
1086 | 1088 |
| |
1087 | 1089 |
| |
1088 |
| - | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
1089 | 1093 |
| |
1090 | 1094 |
| |
1091 | 1095 |
| |
|
0 commit comments
Comments
(0)