pgloader/test/ixf.load
Dimitri Fontaine 6bf26c52ec Implement a TimeZone option for IXF loading.
The local-time:encode-timestamp function takes a default timezone and it
is necessary to have control over it when loading from pgloader. Hence,
add a timezone option to the IXF option list, that is now explicit and
local to the IXF parser rather than shared with the DBF option list.
2015-10-05 16:46:15 +02:00

11 lines
279 B
Fish

LOAD IXF
FROM data/nsitra.test1.ixf
INTO postgresql:///pgloader?nsitra.test1
WITH truncate, create table, timezone UTC
BEFORE LOAD DO
$$ drop schema if exists nsitra cascade; $$,
$$ create schema nsitra; $$,
$$ drop table if exists nsitra.test1; $$;