Fix psql's counting of script file line numbers during COPY.
Fix psql's counting of script file line numbers during COPY.

handleCopyIn incremented pset.lineno for each line of COPY data read from
a 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 if
the data is coming from some other file.  Per bug #6083 from Steve Haslam.
Back-patch to all supported versions.

greenplum-db/gpdb,pavanvd/postgres-xl,arcivanov/postgres-xl,xinzweb/gpdb,50wu/gpdb,greenplum-db/gpdb,lisakowen/gpdb,oberstet/postgres-xl,techdragon/Postgres-XL,jmcatamney/gpdb,postmind-net/postgres-xl,techdragon/Postgres-XL,Postgres-XL/Postgres-XL,zeroae/postgres-xl,postmind-net/postgres-xl,arcivanov/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,greenplum-db/gpdb,snaga/postgres-xl,kmjungersen/PostgresXL,xinzweb/gpdb,techdragon/Postgres-XL,zeroae/postgres-xl,zeroae/postgres-xl,oberstet/postgres-xl,postmind-net/postgres-xl,ovr/postgres-xl,pavanvd/postgres-xl,50wu/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,adam8157/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,pavanvd/postgres-xl,arcivanov/postgres-xl,Postgres-XL/Postgres-XL,oberstet/postgres-xl,50wu/gpdb,ovr/postgres-xl,yazun/postgres-xl,greenplum-db/gpdb,ashwinstar/gpdb,arcivanov/postgres-xl,kmjungersen/PostgresXL,xinzweb/gpdb,lisakowen/gpdb,50wu/gpdb,ovr/postgres-xl,lisakowen/gpdb,kmjungersen/PostgresXL,50wu/gpdb,tpostgres-projects/tPostgres,lisakowen/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,Postgres-XL/Postgres-XL,arcivanov/postgres-xl,tpostgres-projects/tPostgres,jmcatamney/gpdb,snaga/postgres-xl,greenplum-db/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,jmcatamney/gpdb,xinzweb/gpdb,kmjungersen/PostgresXL,ashwinstar/gpdb,tpostgres-projects/tPostgres,50wu/gpdb,yazun/postgres-xl,ovr/postgres-xl,kmjungersen/PostgresXL,ashwinstar/gpdb,snaga/postgres-xl,yazun/postgres-xl,oberstet/postgres-xl,adam8157/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,ashwinstar/gpdb,xinzweb/gpdb,50wu/gpdb,zeroae/postgres-xl,tpostgres-projects/tPostgres,greenplum-db/gpdb,yazun/postgres-xl,techdragon/Postgres-XL,xinzweb/gpdb,50wu/gpdb,arcivanov/postgres-xl,postmind-net/postgres-xl,adam8157/gpdb,snaga/postgres-xl,jmcatamney/gpdb,adam8157/gpdb,jmcatamney/gpdb,techdragon/Postgres-XL,lisakowen/gpdb,ovr/postgres-xl,snaga/postgres-xl,lisakowen/gpdb,xinzweb/gpdb,adam8157/gpdb,postmind-net/postgres-xl,jmcatamney/gpdb,lisakowen/gpdb,lisakowen/gpdb,tpostgres-projects/tPostgres,yazun/postgres-xl,pavanvd/postgres-xl,adam8157/gpdb,adam8157/gpdb