mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 02:46:10 +02:00
Reproduce a test case from issue #795.
This commit is contained in:
parent
a0bac47101
commit
7d8ac3b352
23
test/pkey.load
Normal file
23
test/pkey.load
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user