- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit71a4368
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 parent41fd969 commit71a4368
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
841 | 841 |
| |
842 | 842 |
| |
843 | 843 |
| |
844 |
| - | |
| 844 | + | |
| 845 | + | |
845 | 846 |
| |
846 | 847 |
| |
847 | 848 |
| |
|
0 commit comments
Comments
(0)