- Notifications
You must be signed in to change notification settings - Fork5
Commitcab19af
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 parentcd34647 commitcab19af
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)