pgloader/test/overflow.load
Dimitri Fontaine 3bcd236de6 Add automated regression tests.
Those tests currently only work when a single table is the target of the
load, and when this target is explicit in the INTO target clause. More
work needs to be done to cover interesting cases like MySQL and SQLite
where we want to diff a full database rather than a single table.
2014-06-03 12:19:23 +02:00

15 lines
326 B
Fish

LOAD CSV
FROM INLINE with encoding 'ascii'
INTO postgresql:///pgloader?overflow
WITH truncate,
fields terminated by ',',
fields not enclosed
BEFORE LOAD DO
$$ drop table if exists overflow; $$,
$$ CREATE TABLE overflow (id int, f1 text not null) $$;
18446744073709551596,a
12,