forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit08a46ad
committed
Fix some more boundary-case errors in psql variable substitution:
wasn't really right for case where :var is at the end of the line,was definitely not right if var expanded to empty in that case,and failed to recalculate thislen before jumping back to rescan.1 parentc3c54a2 commit08a46ad
1 file changed
+19
-14
lines changedLines changed: 19 additions & 14 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 |
| |
| |||
366 | 366 |
| |
367 | 367 |
| |
368 | 368 |
| |
| 369 | + | |
369 | 370 |
| |
370 | 371 |
| |
371 | 372 |
| |
372 |
| - | |
373 |
| - | |
374 |
| - | |
375 |
| - | |
376 | 373 |
| |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
377 | 378 |
| |
378 | 379 |
| |
| 380 | + | |
379 | 381 |
| |
380 | 382 |
| |
381 |
| - | |
382 |
| - | |
| 383 | + | |
383 | 384 |
| |
384 | 385 |
| |
385 | 386 |
| |
386 | 387 |
| |
387 | 388 |
| |
388 | 389 |
| |
389 |
| - | |
390 |
| - | |
391 |
| - | |
| 390 | + | |
| 391 | + | |
392 | 392 |
| |
393 | 393 |
| |
394 | 394 |
| |
395 | 395 |
| |
396 | 396 |
| |
397 |
| - | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
398 | 402 |
| |
399 | 403 |
| |
400 | 404 |
| |
401 |
| - | |
402 |
| - | |
403 |
| - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
404 | 409 |
| |
405 | 410 |
| |
406 | 411 |
| |
|
0 commit comments
Comments
(0)