]> git.ipfire.org Git - thirdparty/postgresql.git/commit
From: t-ishii@sra.co.jp
authorMarc G. Fournier <scrappy@hub.org>
Fri, 19 Jun 1998 11:40:46 +0000 (11:40 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 19 Jun 1998 11:40:46 +0000 (11:40 +0000)
commit5fdefbc7ef5884d19573e758c1a7c9200a42022a
tree841379a2213643a34dceb432de158d779da27ff3
parent7a7770e682e11ef61cf51246930ba79dfb5014eb
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!
src/backend/commands/copy.c