From 7d8ac3b3527a26fdf99cf056d001ade35b91f1f5 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Fri, 15 Jun 2018 22:14:04 +0200 Subject: [PATCH] Reproduce a test case from issue #795. --- test/pkey.load | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/pkey.load diff --git a/test/pkey.load b/test/pkey.load new file mode 100644 index 0000000..c3facee --- /dev/null +++ b/test/pkey.load @@ -0,0 +1,23 @@ +load csv + from inline + into postgres:///pgloader?tablename=pkey + + with fields not enclosed, + workers=32, + concurrency=8, + fields terminated by '\t' + set work_mem to '1024 MB', + maintenance_work_mem to '2048 MB' + + before load do + $$ drop table if exists pkey; $$, + $$ create table pkey(id int primary key ,name varchar(100)); $$; + + +1 1 +2 2 +3 3 +3 3 +4 +5 5 +6 6