forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7c0c9b3
committed
New improved version of bpcharin() may have got the truncation case
right, but it failed to get the padding case right.This was obscured by subsequent application of bpchar() in all but oneregression test case, and that one didn't fail in an obvious way ---trailing blanks are hard to see. Add another test case to make itmore obvious if it breaks again.1 parent597ca67 commit7c0c9b3
File tree
3 files changed
+36
-29
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+36
-29
lines changedLines changed: 25 additions & 26 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 |
| |
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
69 | 68 |
| |
70 | 69 |
| |
71 |
| - | |
72 | 70 |
| |
73 | 71 |
| |
74 | 72 |
| |
| |||
77 | 75 |
| |
78 | 76 |
| |
79 | 77 |
| |
80 |
| - | |
81 | 78 |
| |
82 |
| - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
83 | 86 |
| |
| 87 | + | |
84 | 88 |
| |
85 | 89 |
| |
86 | 90 |
| |
87 | 91 |
| |
88 | 92 |
| |
| 93 | + | |
| 94 | + | |
| 95 | + | |
89 | 96 |
| |
90 | 97 |
| |
91 |
| - | |
92 | 98 |
| |
93 |
| - | |
94 | 99 |
| |
95 | 100 |
| |
| 101 | + | |
96 | 102 |
| |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 | 103 |
| |
101 | 104 |
| |
102 | 105 |
| |
103 | 106 |
| |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
| 107 | + | |
| 108 | + | |
114 | 109 |
| |
115 | 110 |
| |
116 | 111 |
| |
117 | 112 |
| |
118 | 113 |
| |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
119 | 118 |
| |
120 | 119 |
| |
121 | 120 |
| |
| |||
162 | 161 |
| |
163 | 162 |
| |
164 | 163 |
| |
165 |
| - | |
| 164 | + | |
166 | 165 |
| |
167 | 166 |
| |
168 | 167 |
| |
169 | 168 |
| |
| 169 | + | |
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
| |||
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
| 182 | + | |
182 | 183 |
| |
183 | 184 |
| |
184 | 185 |
| |
185 | 186 |
| |
186 | 187 |
| |
187 | 188 |
| |
188 |
| - | |
189 | 189 |
| |
190 | 190 |
| |
191 | 191 |
| |
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
| 199 | + | |
200 | 200 |
| |
201 | 201 |
| |
202 | 202 |
| |
| |||
340 | 340 |
| |
341 | 341 |
| |
342 | 342 |
| |
343 |
| - | |
344 | 343 |
| |
345 | 344 |
| |
346 |
| - | |
347 | 345 |
| |
348 | 346 |
| |
349 | 347 |
| |
| |||
354 | 352 |
| |
355 | 353 |
| |
356 | 354 |
| |
| 355 | + | |
357 | 356 |
| |
358 | 357 |
| |
359 | 358 |
| |
360 | 359 |
| |
361 | 360 |
| |
362 | 361 |
| |
363 | 362 |
| |
364 |
| - | |
365 | 363 |
| |
366 | 364 |
| |
367 | 365 |
| |
| |||
419 | 417 |
| |
420 | 418 |
| |
421 | 419 |
| |
| 420 | + | |
422 | 421 |
| |
423 | 422 |
| |
424 | 423 |
| |
|
Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
481 | 481 |
| |
482 | 482 |
| |
483 | 483 |
| |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
484 | 490 |
| |
485 |
| - | |
486 |
| - | |
487 |
| - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
488 | 494 |
| |
489 | 495 |
| |
490 | 496 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
| 163 | + | |
| 164 | + | |
163 | 165 |
| |
164 | 166 |
| |
165 | 167 |
| |
|
0 commit comments
Comments
(0)