forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd86dee3
committed
This patch should fix the problem. Doesn't include my previous patch
for repeat(). Again, somewhat off-the-cuff, so I might have missedsomething...test=# select lpad('xxxxx',1431655765,'yyyyyyyyyyyyyyyy');ERROR: Requested length too largetest=# select rpad('xxxxx',1431655765,'yyyyyyyyyyyyyyyy');ERROR: Requested length too large(That's on a Unicode DB, haven't tested other encodings but AFAICTthis fix should still work.)Neil Conway1 parentcbe733d commitd86dee3
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
202 | 207 | | |
203 | 208 | | |
204 | 209 | | |
| |||
310 | 315 | | |
311 | 316 | | |
312 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
313 | 323 | | |
314 | 324 | | |
315 | 325 | | |
| |||
0 commit comments
Comments
(0)