forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2683a63
committed
Fix psql's counting of script file line numbers during COPY.
handleCopyIn incremented pset.lineno for each line of COPY data read froma file. This is correct when reading from the current script file (i.e.,we are doing COPY FROM STDIN followed by in-line data), but it's wrong ifthe data is coming from some other file. Per bug #6083 from Steve Haslam.Back-patch to all supported versions.1 parenteb9ca35 commit2683a63
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
586 | 586 |
| |
587 | 587 |
| |
588 | 588 |
| |
589 |
| - | |
| 589 | + | |
| 590 | + | |
590 | 591 |
| |
591 | 592 |
| |
592 | 593 |
| |
|
0 commit comments
Comments
(0)