
From: t-ishii@sra.co.jp

As mentioned around line 1153 in backend/commands/copy.c, the method
of array checking is not perfect.

test=> create table t1 (i text);
test=> insert into t1 values('{\\.}');
INSERT 2645600 1
test=> select * from t1;
i
-----
{\\.}
(2 rows)
test=> copy t1 to '/tmp/aaa';
test=> copy t1 from '/tmp/aaa';
ERROR:  CopyReadAttribute - end of record marker corrupted

Copy cannot read data produced by itself!

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