Clean up scan.l's handling of \r vs \n --- they are reliably treated as equivalent now, which should make Windows and Mac clients happier. Also fix failure to handle SQL comments between segments of a multiline quoted literal.
Clean up scan.l's handling of \r vs \n --- they are reliably treated as
equivalent now, which should make Windows and Mac clients happier.
Also fix failure to handle SQL comments between segments of a multiline
quoted literal.

adam8157/gpdb,pavanvd/postgres-xl,tangp3/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,chrishajas/gpdb,arcivanov/postgres-xl,xuegang/gpdb,tangp3/gpdb,tangp3/gpdb,edespino/gpdb,xuegang/gpdb,edespino/gpdb,rvs/gpdb,ashwinstar/gpdb,pavanvd/postgres-xl,randomtask1155/gpdb,postmind-net/postgres-xl,snaga/postgres-xl,cjcjameson/gpdb,xinzweb/gpdb,zaksoup/gpdb,snaga/postgres-xl,oberstet/postgres-xl,chrishajas/gpdb,50wu/gpdb,kaknikhil/gpdb,randomtask1155/gpdb,Quikling/gpdb,rvs/gpdb,Quikling/gpdb,lisakowen/gpdb,lisakowen/gpdb,rubikloud/gpdb,zaksoup/gpdb,tpostgres-projects/tPostgres,tpostgres-projects/tPostgres,foyzur/gpdb,oberstet/postgres-xl,0x0FFF/gpdb,ashwinstar/gpdb,tangp3/gpdb,CraigHarris/gpdb,ahachete/gpdb,janebeckman/gpdb,xuegang/gpdb,lpetrov-pivotal/gpdb,atris/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,atris/gpdb,Chibin/gpdb,edespino/gpdb,rubikloud/gpdb,yuanzhao/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,0x0FFF/gpdb,zeroae/postgres-xl,ahachete/gpdb,lintzc/gpdb,edespino/gpdb,CraigHarris/gpdb,zeroae/postgres-xl,postmind-net/postgres-xl,kaknikhil/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,arcivanov/postgres-xl,kmjungersen/PostgresXL,pavanvd/postgres-xl,rvs/gpdb,ashwinstar/gpdb,50wu/gpdb,arcivanov/postgres-xl,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,Quikling/gpdb,royc1/gpdb,xinzweb/gpdb,kaknikhil/gpdb,ahachete/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,kmjungersen/PostgresXL,adam8157/gpdb,foyzur/gpdb,adam8157/gpdb,zeroae/postgres-xl,chrishajas/gpdb,yazun/postgres-xl,royc1/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,xuegang/gpdb,foyzur/gpdb,ovr/postgres-xl,0x0FFF/gpdb,kaknikhil/gpdb,atris/gpdb,lisakowen/gpdb,50wu/gpdb,rubikloud/gpdb,ahachete/gpdb,lintzc/gpdb,50wu/gpdb,Quikling/gpdb,lintzc/gpdb,cjcjameson/gpdb,royc1/gpdb,janebeckman/gpdb,edespino/gpdb,lisakowen/gpdb,rubikloud/gpdb,postmind-net/postgres-xl,yuanzhao/gpdb,postmind-net/postgres-xl,rvs/gpdb,snaga/postgres-xl,Chibin/gpdb,royc1/gpdb,foyzur/gpdb,zaksoup/gpdb,foyzur/gpdb,tpostgres-projects/tPostgres,zaksoup/gpdb,rubikloud/gpdb,arcivanov/postgres-xl,edespino/gpdb,lisakowen/gpdb,Quikling/gpdb,zaksoup/gpdb,chrishajas/gpdb,xinzweb/gpdb,jmcatamney/gpdb,ahachete/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,Chibin/gpdb,atris/gpdb,janebeckman/gpdb,Postgres-XL/Postgres-XL,yazun/postgres-xl,xuegang/gpdb,Postgres-XL/Postgres-XL,tangp3/gpdb,ahachete/gpdb,Quikling/gpdb,kmjungersen/PostgresXL,cjcjameson/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,foyzur/gpdb,ovr/postgres-xl,yuanzhao/gpdb,jmcatamney/gpdb,tangp3/gpdb,Chibin/gpdb,Chibin/gpdb,pavanvd/postgres-xl,Quikling/gpdb,rvs/gpdb,janebeckman/gpdb,arcivanov/postgres-xl,xuegang/gpdb,chrishajas/gpdb,xuegang/gpdb,yazun/postgres-xl,lintzc/gpdb,postmind-net/postgres-xl,jmcatamney/gpdb,snaga/postgres-xl,ashwinstar/gpdb,yuanzhao/gpdb,adam8157/gpdb,Chibin/gpdb,Postgres-XL/Postgres-XL,xuegang/gpdb,adam8157/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb,zeroae/postgres-xl,jmcatamney/gpdb,greenplum-db/gpdb,oberstet/postgres-xl,tpostgres-projects/tPostgres,edespino/gpdb,ashwinstar/gpdb,rubikloud/gpdb,royc1/gpdb,CraigHarris/gpdb,Chibin/gpdb,rvs/gpdb,royc1/gpdb,adam8157/gpdb,chrishajas/gpdb,0x0FFF/gpdb,Postgres-XL/Postgres-XL,adam8157/gpdb,rvs/gpdb,ashwinstar/gpdb,chrishajas/gpdb,rubikloud/gpdb,randomtask1155/gpdb,royc1/gpdb,lpetrov-pivotal/gpdb,foyzur/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,xuegang/gpdb,Chibin/gpdb,50wu/gpdb,zaksoup/gpdb,lpetrov-pivotal/gpdb,edespino/gpdb,tangp3/gpdb,yazun/postgres-xl,techdragon/Postgres-XL,techdragon/Postgres-XL,rvs/gpdb,jmcatamney/gpdb,kmjungersen/PostgresXL,rvs/gpdb,rubikloud/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,ovr/postgres-xl,edespino/gpdb,yuanzhao/gpdb,lintzc/gpdb,greenplum-db/gpdb,edespino/gpdb,Quikling/gpdb,atris/gpdb,ahachete/gpdb,janebeckman/gpdb,lisakowen/gpdb,atris/gpdb,janebeckman/gpdb,Chibin/gpdb,atris/gpdb,snaga/postgres-xl,50wu/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,xinzweb/gpdb,rvs/gpdb,randomtask1155/gpdb,ovr/postgres-xl,Quikling/gpdb,xinzweb/gpdb,xinzweb/gpdb,greenplum-db/gpdb,CraigHarris/gpdb,zaksoup/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,Chibin/gpdb,lintzc/gpdb,ahachete/gpdb,kmjungersen/PostgresXL,arcivanov/postgres-xl,tangp3/gpdb,CraigHarris/gpdb,50wu/gpdb,50wu/gpdb,foyzur/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,techdragon/Postgres-XL,lintzc/gpdb,xinzweb/gpdb,techdragon/Postgres-XL,oberstet/postgres-xl,lisakowen/gpdb,lisakowen/gpdb,kaknikhil/gpdb,adam8157/gpdb,janebeckman/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,tpostgres-projects/tPostgres,chrishajas/gpdb,0x0FFF/gpdb,lpetrov-pivotal/gpdb,oberstet/postgres-xl,ovr/postgres-xl,CraigHarris/gpdb,zaksoup/gpdb,zeroae/postgres-xl,lintzc/gpdb,janebeckman/gpdb,royc1/gpdb,randomtask1155/gpdb,yuanzhao/gpdb,janebeckman/gpdb,yazun/postgres-xl,Quikling/gpdb,atris/gpdb,jmcatamney/gpdb,janebeckman/gpdb,lintzc/gpdb,xinzweb/gpdb